diff options
author | tv <tv@krebsco.de> | 2023-09-11 18:24:28 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-09-13 18:07:11 +0200 |
commit | 0c4f3acb281be6290c55a6e96bc29fab5b5c7a11 (patch) | |
tree | dadaec00477a095273475ac345b2066b4748c399 /systems/au | |
parent | ab1d0479e90f11806d4703ec6fffed3d5f782914 (diff) |
stockholm -> hrm
Diffstat (limited to 'systems/au')
-rw-r--r-- | systems/au/config.nix | 22 | ||||
-rw-r--r-- | systems/au/disks.nix | 19 |
2 files changed, 41 insertions, 0 deletions
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"]; + }; +} |