odin: add nix-ld, remove cockpit, add kmod to incus PATH
This commit is contained in:
parent
19e3f59f86
commit
cea7eec04f
2 changed files with 9 additions and 13 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
pkgs.nftables
|
||||
pkgs.lvm2
|
||||
pkgs.e2fsprogs
|
||||
pkgs.kmod
|
||||
];
|
||||
environment = {
|
||||
INCUS_UI = pkgs.incus-ui;
|
||||
|
|
Loading…
Reference in a new issue