From 581b132852c492f55a5cc6c657a3d24171708d2e Mon Sep 17 00:00:00 2001 From: tdback Date: Fri, 17 Jan 2025 19:26:25 -0500 Subject: feat: add ability to specify system in mkSystem. add loki server --- hosts/loki/default.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 hosts/loki/default.nix (limited to 'hosts/loki') 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 = [ ]; + }; +} -- cgit v1.2.3