diff options
| -rw-r--r-- | hosts/skadhi/default.nix | 9 | ||||
| -rw-r--r-- | system-profiles/default-locale.nix | 1 | ||||
| -rw-r--r-- | system-profiles/initrd-all-crypto-modules.nix | 14 |
3 files changed, 15 insertions, 9 deletions
diff --git a/hosts/skadhi/default.nix b/hosts/skadhi/default.nix index 847f9e8f..96be2e5b 100644 --- a/hosts/skadhi/default.nix +++ b/hosts/skadhi/default.nix | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | { | 2 | { |
| 3 | imports = with flake.nixosModules.systemProfiles; [ | 3 | imports = with flake.nixosModules.systemProfiles; [ |
| 4 | ./hw.nix ./fs.nix | 4 | ./hw.nix ./fs.nix |
| 5 | tmpfs-root default-locale openssh niri-unstable networkmanager lanzaboote zswap | 5 | tmpfs-root default-locale openssh niri-unstable networkmanager lanzaboote zswap initrd-all-crypto-modules |
| 6 | flakeInputs.nixVirt.nixosModules.default | 6 | flakeInputs.nixVirt.nixosModules.default |
| 7 | ]; | 7 | ]; |
| 8 | 8 | ||
| @@ -19,7 +19,7 @@ | |||
| 19 | }; | 19 | }; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | luks.cryptoModules = [ "aegis128" ]; | 22 | kernelModules = [ "dm-integrity" ]; |
| 23 | }; | 23 | }; |
| 24 | 24 | ||
| 25 | lanzaboote.configurationLimit = 15; | 25 | lanzaboote.configurationLimit = 15; |
| @@ -72,5 +72,10 @@ | |||
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| 74 | services.userborn.importLegacyState = false; | 74 | services.userborn.importLegacyState = false; |
| 75 | |||
| 76 | services.kmscon = { | ||
| 77 | enable = true; | ||
| 78 | config.hwaccel = true; | ||
| 79 | }; | ||
| 75 | }; | 80 | }; |
| 76 | } | 81 | } |
diff --git a/system-profiles/default-locale.nix b/system-profiles/default-locale.nix index de2db1d7..cc103c9e 100644 --- a/system-profiles/default-locale.nix +++ b/system-profiles/default-locale.nix | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | i18n.defaultLocale = "en_DK.UTF-8"; | 6 | i18n.defaultLocale = "en_DK.UTF-8"; |
| 7 | console.keyMap = lib.mkDefault "dvorak-programmer"; | 7 | console.keyMap = lib.mkDefault "dvorak-programmer"; |
| 8 | time.timeZone = lib.mkDefault "Europe/Berlin"; | 8 | time.timeZone = lib.mkDefault "Europe/Berlin"; |
| 9 | services.kmscon.extraOptions = "--xkb-layout=us --xkb-variant=dvp --no-mouse"; | ||
| 9 | } | 10 | } |
| 10 | ] ++ (lib.optional (options ? i18n.extraLocales) { | 11 | ] ++ (lib.optional (options ? i18n.extraLocales) { |
| 11 | i18n.extraLocales = [ "C.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" ]; | 12 | i18n.extraLocales = [ "C.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" ]; |
diff --git a/system-profiles/initrd-all-crypto-modules.nix b/system-profiles/initrd-all-crypto-modules.nix index da6c781e..84f2129a 100644 --- a/system-profiles/initrd-all-crypto-modules.nix +++ b/system-profiles/initrd-all-crypto-modules.nix | |||
| @@ -14,11 +14,11 @@ in { | |||
| 14 | boot.initrd.luks.cryptoModules = moduleList ++ [ | 14 | boot.initrd.luks.cryptoModules = moduleList ++ [ |
| 15 | "encrypted_keys" "trusted" "rng" | 15 | "encrypted_keys" "trusted" "rng" |
| 16 | ]; | 16 | ]; |
| 17 | boot.kernelPatches = [ | 17 | # boot.kernelPatches = [ |
| 18 | { | 18 | # { |
| 19 | name = "encrypted_key"; | 19 | # name = "encrypted_keys"; |
| 20 | patch = null; | 20 | # patch = null; |
| 21 | structuredExtraConfig.ENCRYPTED_KEYS = lib.kernel.yes; | 21 | # structuredExtraConfig.ENCRYPTED_KEYS = lib.kernel.yes; |
| 22 | } | 22 | # } |
| 23 | ]; | 23 | # ]; |
| 24 | } | 24 | } |
