diff options
Diffstat (limited to 'hosts/skadhi/default.nix')
| -rw-r--r-- | hosts/skadhi/default.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/hosts/skadhi/default.nix b/hosts/skadhi/default.nix index e0040db6..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 = { |
| @@ -20,7 +19,6 @@ | |||
| 20 | }; | 19 | }; |
| 21 | 20 | ||
| 22 | kernelModules = [ "dm-integrity" ]; | 21 | kernelModules = [ "dm-integrity" ]; |
| 23 | luks.cryptoModules = [ "aegis128" ]; | ||
| 24 | }; | 22 | }; |
| 25 | 23 | ||
| 26 | lanzaboote.configurationLimit = 15; | 24 | lanzaboote.configurationLimit = 15; |
| @@ -73,5 +71,16 @@ | |||
| 73 | }; | 71 | }; |
| 74 | 72 | ||
| 75 | 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 | }; | ||
| 76 | }; | 85 | }; |
| 77 | } | 86 | } |
