groups environment vars in common environment

added qemu to system
This commit is contained in:
Leyla Becker 2024-09-29 11:16:13 -05:00
parent a86f39668b
commit 5916073839

View file

@ -126,9 +126,30 @@
};
};
environment.sessionVariables = rec {
SOPS_AGE_KEY_DIRECTORY = "/var/lib/sops-nix";
SOPS_AGE_KEY_FILE = "${SOPS_AGE_KEY_DIRECTORY}/key.txt";
environment = {
# List packages installed in system profile.
systemPackages = with pkgs; [
qemu
(pkgs.writeShellScriptBin "qemu-system-x86_64-uefi" ''
qemu-system-x86_64 \
-bios ${OVMF.fd}/FV/OVMF.fd \
"$@"
'')
wget
# version control
git
# system debuging tools
iputils
dnsutils
];
sessionVariables = rec {
SOPS_AGE_KEY_DIRECTORY = "/var/lib/sops-nix";
SOPS_AGE_KEY_FILE = "${SOPS_AGE_KEY_DIRECTORY}/key.txt";
};
};
sops = {
@ -141,15 +162,4 @@
# generateKey = true;
};
};
# List packages installed in system profile.
environment.systemPackages = with pkgs; [
wget
# version control
git
# system debuging tools
iputils
dnsutils
];
}