Created
March 25, 2017 01:21
-
-
Save Taeradan/27b73d9bac85783680a35b049cdedb96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
let | |
inherit (lib) mkIf mkMerge mkThenElse; | |
cfg = config.r6d.config-generator; | |
computers = config.r6d.computers; | |
profiles = config.r6d.profiles; | |
in | |
{ | |
imports = [ | |
# moulinette de configuration | |
./config-generator.nix | |
# subfolders | |
./applications/default.nix | |
./applications/graphical/default.nix | |
./applications/terminal/default.nix | |
./configuration/default.nix | |
./services/default.nix | |
] ++ (if profiles.isDesktopEnvironment then [ ./applications/graphical/default.nix ] else []); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment