summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-09-27 00:32:26 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-09-27 00:32:26 -0700
commit1403c2423100e014aae95c2a02191445d9e8b647 (patch)
treedc2de145df4d62134e4d17379fc079c71cc8175e
parent2b8facb13cd98baf9b4c6a7dc111702e8279e2c6 (diff)
undo portHEADmain
-rw-r--r--configuration.nix12
-rw-r--r--justfile3
-rw-r--r--ssh.nix1
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;
diff --git a/justfile b/justfile
index 339a1c6..96c2c25 100644
--- a/justfile
+++ b/justfile
@@ -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}}
diff --git a/ssh.nix b/ssh.nix
index 9d0c84a..d58a2a1 100644
--- a/ssh.nix
+++ b/ssh.nix
@@ -3,7 +3,6 @@
services.openssh = {
enable = true;
- ports = [26802];
authorizedKeysInHomedir = false;
settings = {
PasswordAuthentication = false;