forked from fediversity/fediversity
Compare commits
3 commits
d2f694a555
...
44f5da55f7
| Author | SHA1 | Date | |
|---|---|---|---|
| 44f5da55f7 | |||
| d7939e03aa | |||
| 7811cf9eeb |
3 changed files with 6 additions and 6 deletions
|
|
@ -23,9 +23,4 @@ in
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
|
|
||||||
boot.loader = {
|
|
||||||
systemd-boot.enable = true;
|
|
||||||
efi.canTouchEfiVariables = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,11 @@
|
||||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
loader = {
|
||||||
|
systemd-boot.enable = true;
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [
|
availableKernelModules = [
|
||||||
"ata_piix"
|
"ata_piix"
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ in
|
||||||
age.secrets = concatMapAttrs (
|
age.secrets = concatMapAttrs (
|
||||||
name: secret:
|
name: secret:
|
||||||
optionalAttrs (elem hostPublicKey secret.publicKeys) {
|
optionalAttrs (elem hostPublicKey secret.publicKeys) {
|
||||||
${removeSuffix ".age" name}.file = secrets.rootPath + "/${name}";
|
${removeSuffix ".age" name}.file = secrets.rootPath + "secrets/${name}";
|
||||||
}
|
}
|
||||||
) secrets.mapping;
|
) secrets.mapping;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue