diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 11:57:50 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 11:57:50 +0100 |
commit | b0911354527c2363332cd02fc7c2a3711ca7cbe2 (patch) | |
tree | 07961780596f78eb600366d773eea10b086b9874 /modules/user/aszlig/profiles/workstation/default.nix | |
parent | a41fd5b7223fc83d43ede24477294685ddaf67a7 (diff) |
aszlig/workstation: Use package.nix as a list.
Using package.nix as a module would mean that we would need to check for the workstation profile in there again, so let's just make it a list and import it from the default.nix where we only once check whether the profile is enabled. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user/aszlig/profiles/workstation/default.nix')
-rw-r--r-- | modules/user/aszlig/profiles/workstation/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index a43a053e..fa387a9b 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -9,8 +9,6 @@ in { enable = lib.mkEnableOption "Workstation profile for aszlig"; }; - imports = [ ./packages.nix ]; - config = lib.mkIf cfg.enable { vuizvui.user.aszlig.profiles.base.enable = true; @@ -27,7 +25,7 @@ in { in singleton (pkgs.writeScriptBin "xreset" '' #!${pkgs.stdenv.shell} ${pkgs.xorg.xrandr}/bin/xrandr ${concatStringsSep " " randrConf} - ''); + '') ++ import ./packages.nix pkgs; hardware = { pulseaudio.enable = true; |