From d7ebd9c2e16777814997d6a3bb21199be0edbfc3 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sat, 6 Jul 2024 23:02:26 -0500 Subject: [PATCH] Move to own repo. --- nixos/hosts/telperion/default.nix | 50 ----------------------- nixos/hosts/telperion/mini-bootstrap.nix | 52 ------------------------ 2 files changed, 102 deletions(-) delete mode 100644 nixos/hosts/telperion/default.nix delete mode 100644 nixos/hosts/telperion/mini-bootstrap.nix diff --git a/nixos/hosts/telperion/default.nix b/nixos/hosts/telperion/default.nix deleted file mode 100644 index 52f31cf..0000000 --- a/nixos/hosts/telperion/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -# Do not modify this file! It was generated by `nixos-generate-config` -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, modulesPath, ... }: - -{ - imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; - - networking.hostId = "ce196a02"; - networking.hostName = "telperion"; - boot = { - initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; - initrd.kernelModules = [ ]; - kernelModules = [ "kvm-intel" ]; - extraModulePackages = [ ]; - }; - - fileSystems."/" = { - device = "zroot/root"; - fsType = "zfs"; - }; - - fileSystems."/nix" = { - device = "zroot/nix"; - fsType = "zfs"; - }; - - fileSystems."/var" = { - device = "zroot/var"; - fsType = "zfs"; - }; - - fileSystems."/home" = { - device = "zroot/home"; - fsType = "zfs"; - }; - - swapDevices = [ ]; - - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - - # System settings and services. - mySystem = { - purpose = "Production"; - system.motd.networkInterfaces = [ "enp2s0" "wlp3s0" ]; - }; -} diff --git a/nixos/hosts/telperion/mini-bootstrap.nix b/nixos/hosts/telperion/mini-bootstrap.nix deleted file mode 100644 index f6d0dd6..0000000 --- a/nixos/hosts/telperion/mini-bootstrap.nix +++ /dev/null @@ -1,52 +0,0 @@ -# This is a small config that can be used to bootstrap a system with ZFS. -{ config, lib, modulesPath, ... }: -{ - imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; - - networking.hostId = "ce196a02"; - networking.hostName = "telperion"; - boot = { - initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; - initrd.kernelModules = [ ]; - kernelModules = [ "kvm-intel" ]; - extraModulePackages = [ ]; - loader = { - grub = { - enable = true; - zfsSupport = true; - device = "nodev"; - mirroredBoots = [ - { devices = [ "nodev" ]; path = "/boot"; } - ]; - }; - }; - }; - - fileSystems."/" = { - device = "zroot/root"; - fsType = "zfs"; - }; - - fileSystems."/nix" = { - device = "zroot/nix"; - fsType = "zfs"; - }; - - fileSystems."/var" = { - device = "zroot/var"; - fsType = "zfs"; - }; - - fileSystems."/home" = { - device = "zroot/home"; - fsType = "zfs"; - }; - - swapDevices = [ ]; - - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - system.stateVersion = "24.05"; -}