From db564c58cf2fa1a275bd3abd21386b4bdaef4e2c Mon Sep 17 00:00:00 2001 From: Olivia Crain Date: Sun, 8 Feb 2026 17:25:52 -0600 Subject: [PATCH] nixos: retire cardinalis for now --- .sops.yaml | 7 ---- nixos/cardinalis/configuration.nix | 26 ------------ nixos/cardinalis/hardware-configuration.nix | 44 --------------------- result-new | 1 + result-old | 1 + 5 files changed, 2 insertions(+), 77 deletions(-) delete mode 100644 nixos/cardinalis/configuration.nix delete mode 100644 nixos/cardinalis/hardware-configuration.nix create mode 120000 result-new create mode 120000 result-old diff --git a/.sops.yaml b/.sops.yaml index 4018391..dcb5258 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -3,7 +3,6 @@ keys: - &user_olivia2 age1wd6vkn0ugfyetrr3ge7ed9zrc9ph0mlfrzxcjhed3pdwhuatf4jsg3ywu7 - &host_apteryx age1q2ys763tr8vn9945mral4t5knkf27yr6r5fdcj9s9lcyhcjfhunsj58h60 - &host_apteryx2 age18caklfrn2eqqtc23f2suednxqmgqvt6glt9xch85p5u7wu63mpfqp2jfwf - - &host_cardinalis age1qxnucgjdnxasjhy4v64qs40t7ulmgtqh5ha5w9n8n07ea2qsgfxqf754dc - &host_strigidae age14ly704dwe3xxp5s6ljnyxec4f6s57zd4wp584uklua69gqw83a2qlfnvss creation_rules: - path_regex: secrets/apteryx.yaml @@ -13,12 +12,6 @@ creation_rules: - *user_olivia2 - *host_apteryx - *host_apteryx2 - - path_regex: secrets/cardinalis.yaml - key_groups: - - age: - - *user_olivia - - *user_olivia2 - - *host_cardinalis - path_regex: secrets/strigidae.yaml key_groups: - age: diff --git a/nixos/cardinalis/configuration.nix b/nixos/cardinalis/configuration.nix deleted file mode 100644 index c7724cc..0000000 --- a/nixos/cardinalis/configuration.nix +++ /dev/null @@ -1,26 +0,0 @@ -{lib, ...}: let - inherit (lib) mkDefault; -in { - imports = [ - ./hardware-configuration.nix - ../common - ]; - - networking.hostName = "cardinalis"; - olivia.enable = true; - - services.openssh.enable = true; - systemd.network.wait-online.enable = false; - programs.steam.enable = true; - - hardware.nvidia = { - modesetting.enable = mkDefault true; - powerManagement.enable = mkDefault false; - powerManagement.finegrained = mkDefault false; - open = mkDefault false; - nvidiaSettings = mkDefault true; - }; - services.xserver.videoDrivers = ["nvidia"]; - - system.stateVersion = "23.11"; -} diff --git a/nixos/cardinalis/hardware-configuration.nix b/nixos/cardinalis/hardware-configuration.nix deleted file mode 100644 index 6558626..0000000 --- a/nixos/cardinalis/hardware-configuration.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - config, - lib, - modulesPath, - ... -}: { - imports = [(modulesPath + "/installer/scan/not-detected.nix")]; - - boot.initrd.availableKernelModules = [ - "xhci_pci" - "thunderbolt" - "nvme" - "ahci" - "usbhid" - "usb_storage" - "sd_mod" - ]; - boot.initrd.kernelModules = ["dm-snapshot"]; - boot.kernelModules = ["kvm-amd"]; - boot.extraModulePackages = []; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/2ae9fd56-719e-41c9-9866-3743b649eba1"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/2AD7-6108"; - fsType = "vfat"; - }; - - swapDevices = [{device = "/dev/disk/by-uuid/431a528d-2d55-4edf-8c2d-ca7ef200ac96";}]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp77s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp76s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/result-new b/result-new new file mode 120000 index 0000000..fd8ef8d --- /dev/null +++ b/result-new @@ -0,0 +1 @@ +/nix/store/4261nhr08cx4778wq7p49x853gzv3xym-nixos-system-apteryx-26.05.20260204.00c21e4 \ No newline at end of file diff --git a/result-old b/result-old new file mode 120000 index 0000000..a74c3fc --- /dev/null +++ b/result-old @@ -0,0 +1 @@ +/nix/store/r07lrdw6pypfy2a9ygwmimpmv0nmisc8-nixos-system-apteryx-26.05.20260204.00c21e4 \ No newline at end of file -- knotmirror 0.0.1