diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-29 23:29:28 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-29 23:29:28 -0700 |
| commit | 52cdeaf4cc9da9d32926821c78fd331bc8d2f14a (patch) | |
| tree | 1b57b1c4d7c4e70202d9f07bab8a8e1a477078b9 /configuration.nix | |
| parent | a570da443586fa3b3490b5add88ea5932456a5b3 (diff) | |
restructure for cgit css
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..9477c6f --- /dev/null +++ b/configuration.nix @@ -0,0 +1,31 @@ +{config, ...}: { + imports = [ + ./git + ./nix/hardware-configuration.nix + ./nix/minecraft.nix + ./nix/options.nix + ./nix/ssh.nix + ./nix/web.nix + ]; + + boot.loader = { + systemd-boot = { + enable = true; + graceful = true; # TODO: drop after v261+ + }; + efi.canTouchEfiVariables = true; + }; + + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + + networking.hostName = "chariot"; + networking.networkmanager.enable = true; + + users.users.kassouni = { + extraGroups = [ "wheel" ]; + isNormalUser = true; + openssh.authorizedKeys.keys = config.my.adminKeys; + }; + + system.stateVersion = "26.05"; +} |