diff options
| -rw-r--r-- | configuration.nix | 12 | ||||
| -rw-r--r-- | justfile | 3 | ||||
| -rw-r--r-- | ssh.nix | 1 |
3 files changed, 10 insertions, 6 deletions
diff --git a/configuration.nix b/configuration.nix index 137e2f4..d744b6f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,4 +1,4 @@ -{config, lib, pkgs, ...}: { +{config, ...}: { imports = [ ./hardware-configuration.nix ./minecraft.nix @@ -6,8 +6,14 @@ ./git.nix ./ssh.nix ]; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + + boot.loader = { + systemd-boot = { + enable = true; + graceful = true; # TODO: drop after v261+ + }; + efi.canTouchEfiVariables = true; + }; networking.networkmanager.enable = true; @@ -1,9 +1,8 @@ host := "kassouni@5.78.230.100" -port := "26802" config := "kassouni-net" deploy: nixos-rebuild switch --flake .#{{config}} --target-host {{host}} --build-host {{host}} --sudo --ask-sudo-password ssh: - ssh -p {{port}} {{host}} + ssh {{host}} @@ -3,7 +3,6 @@ services.openssh = { enable = true; - ports = [26802]; authorizedKeysInHomedir = false; settings = { PasswordAuthentication = false; |
