groups environment vars in common environment
added qemu to system
This commit is contained in:
parent
a86f39668b
commit
5916073839
|
@ -126,10 +126,31 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.sessionVariables = rec {
|
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_DIRECTORY = "/var/lib/sops-nix";
|
||||||
SOPS_AGE_KEY_FILE = "${SOPS_AGE_KEY_DIRECTORY}/key.txt";
|
SOPS_AGE_KEY_FILE = "${SOPS_AGE_KEY_DIRECTORY}/key.txt";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFormat = "yaml";
|
defaultSopsFormat = "yaml";
|
||||||
|
@ -141,15 +162,4 @@
|
||||||
# generateKey = true;
|
# generateKey = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# List packages installed in system profile.
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
wget
|
|
||||||
|
|
||||||
# version control
|
|
||||||
git
|
|
||||||
|
|
||||||
# system debuging tools
|
|
||||||
iputils
|
|
||||||
dnsutils
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue