odin: add nix-ld, remove cockpit, add kmod to incus PATH

This commit is contained in:
Erwin Boskma 2024-01-10 21:54:54 +01:00
parent 19e3f59f86
commit cea7eec04f
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk
2 changed files with 9 additions and 13 deletions

View file

@ -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;
};

View file

@ -117,6 +117,7 @@
pkgs.nftables
pkgs.lvm2
pkgs.e2fsprogs
pkgs.kmod
];
environment = {
INCUS_UI = pkgs.incus-ui;