diff --git a/common/system.nix b/common/system.nix index 31b3c2c..4ca885d 100644 --- a/common/system.nix +++ b/common/system.nix @@ -24,8 +24,6 @@ settings.trusted-users = ["root" "willem"]; }; - programs.command-not-found.enable = false; - programs.bash.enableCompletion = true; programs.bash.interactiveShellInit = '' export PS1=$'\n'"\e[0mbash: \e[34;1m\w"$'\n'"\e[32m\\$\e[0m " diff --git a/nixos/hosts/zeus.nix b/nixos/hosts/zeus.nix index d080b40..d592ead 100644 --- a/nixos/hosts/zeus.nix +++ b/nixos/hosts/zeus.nix @@ -1,5 +1,9 @@ {pkgs, ...}: { - imports = [../profiles/common.nix]; + imports = [ + ../../common/system.nix + ../modules/nix/link-inputs.nix + ../modules/nix/use-flake-pkgs.nix + ]; nix = { generateNixPathFromInputs = true; diff --git a/nixos/modules/users/willem/default.nix b/nixos/modules/users/willem/default.nix index 8af91e9..e40287e 100644 --- a/nixos/modules/users/willem/default.nix +++ b/nixos/modules/users/willem/default.nix @@ -9,6 +9,7 @@ extraGroups = ["networkmanager" "wheel" "video" "udev"]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBx1z962nl87rmOk/vw3EBSgqU/VlCqON8zTeLHQcSBp willem@zeus" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGFprwUFAmOqWlUtRkpGMAQJs6zJVesYIstXVLL3yjse willem@nixbox" ]; }; } diff --git a/nixos/profiles/default.nix b/nixos/profiles/default.nix index f23e504..58f2316 100644 --- a/nixos/profiles/default.nix +++ b/nixos/profiles/default.nix @@ -24,9 +24,12 @@ } ''; + programs.command-not-found.enable = false; + services.udev.enable = true; services.openssh.enable = true; + services.openssh.passwordAuthentication = false; system.stateVersion = "23.05";