diff --git a/machines/odin/configuration.nix b/machines/odin/configuration.nix index 3c5b8b0..c5b1d1d 100644 --- a/machines/odin/configuration.nix +++ b/machines/odin/configuration.nix @@ -1,4 +1,4 @@ -{ nixos-hardware, disko, ... }: +{ nixos-hardware, disko, nix-ld-rs, ... }: { pkgs, config, ... }: { imports = [ @@ -65,21 +65,16 @@ }; hardware.enableAllFirmware = true; - powerManagement.cpuFreqGovernor = "ondemand"; + + programs = { + nix-ld = { + enable = true; + package = nix-ld-rs.packages.${pkgs.hostPlatform.system}.nix-ld-rs; + }; + }; services = { openssh.enable = true; - cockpit = { - enable = true; - openFirewall = true; - settings = { - WebService = { - Origins = "https://cockpit.datarift.nl"; - ProtocolHeader = "X-Forwarded-Proto"; - ForwardedForHeader = "X-Forwarded-For"; - }; - }; - }; lvm = { enable = true; }; diff --git a/machines/odin/virtualisation.nix b/machines/odin/virtualisation.nix index 229856f..d10d085 100644 --- a/machines/odin/virtualisation.nix +++ b/machines/odin/virtualisation.nix @@ -117,6 +117,7 @@ pkgs.nftables pkgs.lvm2 pkgs.e2fsprogs + pkgs.kmod ]; environment = { INCUS_UI = pkgs.incus-ui;