aboutsummaryrefslogtreecommitdiff
path: root/hosts/loki
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/loki')
-rw-r--r--hosts/loki/default.nix33
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 = [ ];
+ };
+}