From 0c4f3acb281be6290c55a6e96bc29fab5b5c7a11 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 11 Sep 2023 18:24:28 +0200 Subject: stockholm -> hrm --- systems/au/config.nix | 22 ++++++++++++++++++++++ systems/au/disks.nix | 19 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 systems/au/config.nix create mode 100644 systems/au/disks.nix (limited to 'systems/au') diff --git a/systems/au/config.nix b/systems/au/config.nix new file mode 100644 index 0000000..bd61f78 --- /dev/null +++ b/systems/au/config.nix @@ -0,0 +1,22 @@ +{ config, ... }: { + imports = [ + ./disks.nix + ../../configs/hw/x220.nix + ../../configs/ppp.nix + ../../configs/retiolum.nix + ../../configs/xsessions + ]; + + krebs.build.host = config.krebs.hosts.au; + + networking.wireless.enable = true; + networking.useDHCP = false; + networking.interfaces.enp0s25.useDHCP = true; + networking.interfaces.wlp3s0.useDHCP = true; + networking.interfaces.wwp0s29u1u4i6.useDHCP = true; + + system.stateVersion = "20.03"; + + tv.hw.screens.primary.width = 1920; + tv.hw.screens.primary.height = 1080; +} diff --git a/systems/au/disks.nix b/systems/au/disks.nix new file mode 100644 index 0000000..434de17 --- /dev/null +++ b/systems/au/disks.nix @@ -0,0 +1,19 @@ +{ + boot.initrd.luks.devices.main.device = "/dev/sda2"; + fileSystems."/" = { + device = "/dev/main/root"; + options = ["defaults" "noatime" "commit=60"]; + }; + fileSystems."/boot" = { + device = "/dev/sda1"; + options = ["defaults" "noatime"]; + }; + fileSystems."/bku" = { + device = "/dev/main/bku"; + options = ["defaults" "noatime"]; + }; + fileSystems."/home" = { + device = "/dev/main/home"; + options = ["defaults" "noatime" "commit=60"]; + }; +} -- cgit v1.2.3