Fix reboot alias auth prompt and minor formatting

Add sudo to reboot alias so it doesn't prompt for password.
Add blank line before networking.hostName in hardware config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-15 09:23:12 +01:00
parent 090e5efbc1
commit e1f073969b
2 changed files with 2 additions and 1 deletions

View file

@ -78,7 +78,7 @@
clean = "sudo nix-collect-garbage -d"; clean = "sudo nix-collect-garbage -d";
ll = "ls -alh"; ll = "ls -alh";
clear = "command clear"; clear = "command clear";
reboot = "systemctl reboot"; reboot = "sudo systemctl reboot";
}; };
# Add packages # Add packages

View file

@ -67,6 +67,7 @@
nvidiaSettings = false; # headless server, no settings GUI needed nvidiaSettings = false; # headless server, no settings GUI needed
}; };
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
networking.hostName = "FredOS-Mediaserver"; networking.hostName = "FredOS-Mediaserver";
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;