diff --git a/layers/dev.nix b/layers/dev.nix index d48f436c96c48ac3084643c12423e875d4dfae4b..3fb23da9dda8b08d9d920865bada0c829fd07e88 100644 --- a/layers/dev.nix +++ b/layers/dev.nix @@ -1,12 +1,22 @@ { pkgs, ... }: { + documentation.dev.enable = true; + environment.systemPackages = with pkgs; [ man-pages + posix_man_pages + + # Dictionary (command `trans`) + translate-shell ]; - users = { - users.dev = { + users.users = { + jens = { + packages = with pkgs; [ direnv ]; + }; + + dev = { uid = 1300; isNormalUser = true; packages = with pkgs; [ diff --git a/layers/workstation.nix b/layers/workstation.nix index babe00c7d7ad2aa62e98191b1e81959a840c08dd..5988e21029472c52fb878ce645008a09b008b31b 100644 --- a/layers/workstation.nix +++ b/layers/workstation.nix @@ -3,11 +3,10 @@ { imports = [ ./desktop.nix + ./dev.nix #./vscode.nix ]; - documentation.dev.enable = true; - environment.systemPackages = with pkgs; [ virtmanager keepassxc @@ -16,17 +15,8 @@ spotify gimp mumble - - # Dictionary (command `trans`) - translate-shell - - posix_man_pages ]; - users.users.jens = { - packages = with pkgs; [ direnv ]; - }; - users.users.adobe = { isNormalUser = true;