diff options
author | Silas Schöffel <sils@sils.li> | 2024-10-29 22:22:43 +0100 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-10-29 22:32:27 +0100 |
commit | 799d93626dc0535d12548683bffaa849ad2c536f (patch) | |
tree | 6f36ee30b441240abc69126314f74311bab47325 | |
parent | hosts: add schrotti (diff) | |
download | nix-config-799d93626dc0535d12548683bffaa849ad2c536f.tar.gz nix-config-799d93626dc0535d12548683bffaa849ad2c536f.zip |
hosts: add hpserver
-rw-r--r-- | flake/nixosConfigurations/default.nix | 1 | ||||
-rw-r--r-- | hosts/hpserver.nix | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index 694b228..2bcb1a5 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -53,6 +53,7 @@ in { #}; thinklappi = mkNixosHost "x86_64-linux" ../../hosts/thinklappi.nix; schrotti = mkNixosHost "x86_64-linux" ../../hosts/schrotti.nix; + hpserver = mkNixosHost "x86_64-linux" ../../hosts/hpserver.nix; thinklappi-bootstrap = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = attrs; diff --git a/hosts/hpserver.nix b/hosts/hpserver.nix new file mode 100644 index 0000000..47d3e25 --- /dev/null +++ b/hosts/hpserver.nix @@ -0,0 +1,19 @@ +{...}: { + role.sils = "workstation"; + sils = { + disks.disk = "/dev/disk/by-id/wwn-0x600508b1001c0d733397035f990e3942"; + meta = { + globalDataDir = "/srv"; + hostname = "hpserver"; + system = "x86_64-linux"; + }; + }; + nixpkgs.config.permittedInsecurePackages = [ + "olm-3.2.16" + "python3.12-youtube-dl-2021.12.17" + ]; + nixpkgs.overlays = [(self: super: {utillinux = super.util-linux;})]; + + home-manager.backupFileExtension = "backup"; + boot.initrd.availableKernelModules = ["ehci_pci" "ata_piix" "uhci_hcd" "hpsa" "usb_storage" "usbhid" "sd_mod"]; +} |