diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-05-08 23:23:19 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-05-08 23:23:19 +0200 |
| commit | bb957032ffc5352229edbbdcdb56b9dba4408f37 (patch) | |
| tree | 8d6c171a49aae83dfc191e2aad1ecf55330f0bb4 /hosts/tacitus/default.nix | |
| parent | ad57da6bda1cb00ab11f78125c16daebbf0c221c (diff) | |
Tacitus hosts and locale
Diffstat (limited to 'hosts/tacitus/default.nix')
| -rw-r--r-- | hosts/tacitus/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/hosts/tacitus/default.nix b/hosts/tacitus/default.nix new file mode 100644 index 0000000..1efc539 --- /dev/null +++ b/hosts/tacitus/default.nix @@ -0,0 +1,53 @@ +{ + lib, + ... +}: +{ + imports = [ + ./network.nix + ./disko.nix + ./hardware.nix + ]; + addons = { + desktop.xfce.enable = lib.mkForce true; + gpg.enable = true; + virtualisation.host = true; + }; + + # Bootloader and boot setup. + boot.loader.efi.canTouchEfiVariables = lib.mkDefault true; + boot.loader.limine = { + efiSupport = true; + enable = true; + secureBoot = { + enable = true; + autoGenerateKeys = true; + autoEnrollKeys = { + extraArgs = [ + "--microsoft" + "--firmware-builtin" + ]; + }; + }; + }; + # Networking setup + networking.hostName = "tacitus"; + services.resolved = { + enable = true; + settings.Resolve.DNSOverTLS = "opportunistic"; + }; + + # SSH Access + services.openssh = { + enable = true; + ports = [ 22 ]; + openFirewall = true; + allowSFTP = true; + settings = { + PasswordAuthentication = false; + AllowUsers = [ "wilkuu" ]; + X11Forwarding = true; + PermitRootLogin = "no"; + }; + }; +} |
