odin: enable libvirt and cockpit
This commit is contained in:
parent
bdb4b71d84
commit
75e85c1d5d
1 changed files with 9 additions and 5 deletions
|
@ -1,9 +1,6 @@
|
|||
{ nixos-hardware, disko, ... }:
|
||||
{ modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/virtualisation/qemu-guest-agent.nix"
|
||||
|
||||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
nixos-hardware.nixosModules.common-pc-ssd
|
||||
|
||||
|
@ -28,7 +25,7 @@
|
|||
remote-builders = true;
|
||||
};
|
||||
|
||||
# libvirt.enable = true;
|
||||
libvirt.enable = true;
|
||||
systemd.enable = true;
|
||||
};
|
||||
|
||||
|
@ -54,8 +51,15 @@
|
|||
hardware.enableAllFirmware = true;
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
|
||||
services.qemuGuest = {
|
||||
services.cockpit = {
|
||||
enable = true;
|
||||
settings = {
|
||||
WebService = {
|
||||
Origins = [ "https://cockpit.datarift.nl" ];
|
||||
ProtocolHeader = "X-Forwarded-Proto";
|
||||
ForwardedForHeader = "X-Forwarded-For";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.lvm = {
|
||||
|
|
Loading…
Reference in a new issue