Secure boot and wsl (#10)
- Add secure boot via lanzaboote - Add wsl flag - Remove flatpak flake
This commit is contained in:
parent
8cf9a40763
commit
32f0512ef5
10 changed files with 51 additions and 41 deletions
|
|
@ -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";}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue