Secure boot and wsl (#10)

- Add secure boot via lanzaboote
- Add wsl flag
- Remove flatpak flake
This commit is contained in:
Dashie 2025-05-02 10:16:15 +02:00 committed by GitHub
parent 8cf9a40763
commit 32f0512ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 51 additions and 41 deletions

View file

@ -149,7 +149,7 @@
config = (
lib.optionalAttrs (options ? fileSystems) {
fileSystems = lib.mkIf (config.mods.drives.variant == "manual") (
fileSystems = lib.mkIf (config.mods.drives.variant == "manual" && !config.conf.wsl) (
builtins.listToAttrs (
map (
{
@ -196,7 +196,7 @@
}
);
swapDevices = lib.mkIf (config.mods.drives.useSwap && config.mods.drives.variant == "manual") [
swapDevices = lib.mkIf (config.mods.drives.useSwap && config.mods.drives.variant == "manual" && !config.conf.wsl) [
{device = "/dev/disk/by-label/SWAP";}
];