diff options
Diffstat (limited to 'hosts/skadhi/default.nix')
| -rw-r--r-- | hosts/skadhi/default.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/hosts/skadhi/default.nix b/hosts/skadhi/default.nix index 847f9e8f..1f3f5306 100644 --- a/hosts/skadhi/default.nix +++ b/hosts/skadhi/default.nix | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | { flake, flakeInputs, pkgs, config, lib, ... }: | 1 | { flake, flakeInputs, pkgs, config, lib, ... }: |
| 2 | { | 2 | { |
| 3 | imports = with flake.nixosModules.systemProfiles; [ | 3 | imports = with flake.nixosModules.systemProfiles; [ |
| 4 | ./hw.nix ./fs.nix | 4 | ./hw.nix ./fs.nix ./networking |
| 5 | tmpfs-root default-locale openssh niri-unstable networkmanager lanzaboote zswap | 5 | tmpfs-root default-locale openssh lanzaboote zswap initrd-all-crypto-modules |
| 6 | flakeInputs.nixVirt.nixosModules.default | ||
| 7 | ]; | 6 | ]; |
| 8 | 7 | ||
| 9 | config = { | 8 | config = { |
| @@ -19,7 +18,7 @@ | |||
| 19 | }; | 18 | }; |
| 20 | }; | 19 | }; |
| 21 | 20 | ||
| 22 | luks.cryptoModules = [ "aegis128" ]; | 21 | kernelModules = [ "dm-integrity" ]; |
| 23 | }; | 22 | }; |
| 24 | 23 | ||
| 25 | lanzaboote.configurationLimit = 15; | 24 | lanzaboote.configurationLimit = 15; |
| @@ -72,5 +71,16 @@ | |||
| 72 | }; | 71 | }; |
| 73 | 72 | ||
| 74 | services.userborn.importLegacyState = false; | 73 | services.userborn.importLegacyState = false; |
| 74 | |||
| 75 | services.kmscon = { | ||
| 76 | enable = true; | ||
| 77 | config.hwaccel = true; | ||
| 78 | }; | ||
| 79 | |||
| 80 | environment.persistence."/persistent".timezone = true; | ||
| 81 | time.timeZone = null; | ||
| 82 | systemd.tmpfiles.settings = { | ||
| 83 | "10-localtime"."/etc/localtime".L.argument = "/persistent/etc/localtime"; | ||
| 84 | }; | ||
| 75 | }; | 85 | }; |
| 76 | } | 86 | } |
