diff --git a/users/default.nix b/users/default.nix index ec5c27b..4bb1059 100644 --- a/users/default.nix +++ b/users/default.nix @@ -1,5 +1,7 @@ { pkgs, ... }: - +let + pythonPkgs = import ./python.nix { inherit pkgs; }; +in { # Define a user account. Don't forget to set a password with ‘passwd’. users.users = { @@ -10,7 +12,7 @@ extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ kdePackages.kate - ] ++ ./python.nix; + ] ++ pythonPkgs; hashedPassword = "$6$El6e2NhPrhVFjbFU$imlGZqUiizWw5fMP/ib0CeboOcFhYjIVb8oR1V1dP2NjDeri3jMoUm4ZABOB2uAF8UEDjAGHhFuZxhtbHg647/"; }; @@ -20,7 +22,7 @@ extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ kdePackages.kate - ] ++ ./python.nix; + ] ++ pythonPkgs; shell = pkgs.zsh; }; };