diff options
author | tdback <tyler@tdback.net> | 2025-01-17 19:26:25 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-17 19:26:25 -0500 |
commit | 581b132852c492f55a5cc6c657a3d24171708d2e (patch) | |
tree | 5135b7cc73380951d8f456bbe2a21b620fb231e6 /hosts/loki | |
parent | a27cf2977656a40dd1f92ed262104f898a065499 (diff) |
feat: add ability to specify system in mkSystem. add loki server
Diffstat (limited to 'hosts/loki')
-rw-r--r-- | hosts/loki/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/hosts/loki/default.nix b/hosts/loki/default.nix new file mode 100644 index 0000000..dc461dc --- /dev/null +++ b/hosts/loki/default.nix @@ -0,0 +1,33 @@ +{ inputs, ... }: +{ + system.stateVersion = "24.11"; + + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + users = import "${inputs.self}/users"; + extraSpecialArgs = { + inherit inputs; + headless = true; + }; + }; + + networking = { + hostName = "loki"; + networkmanager.enable = true; + }; + + time.timeZone = "Europe/Helsinki"; + + boot.loader.grub = { + enable = true; + device = "/dev/sda2"; + efiSupport = true; + }; + + programs.motd = { + enable = true; + networkInterfaces = [ "enp1s0" ]; + servicesToCheck = [ ]; + }; +} |