From 496ca27780532446177929f9ee6147f8b4213f99 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sun, 1 Dec 2024 18:09:31 -0800 Subject: [PATCH] centroid: goodnight sweet angel, may flights of princes sing thee to thy rest --- flake.nix | 7 ---- machine/centroid/default.nix | 40 --------------------- machine/centroid/hardware-configuration.nix | 40 --------------------- 3 files changed, 87 deletions(-) delete mode 100644 machine/centroid/default.nix delete mode 100644 machine/centroid/hardware-configuration.nix diff --git a/flake.nix b/flake.nix index 05f7781..b8980d4 100644 --- a/flake.nix +++ b/flake.nix @@ -54,13 +54,6 @@ ./machine/catacomb ]; }; - centroid = nixpkgs-2405.lib.nixosSystem { - system = "x86_64-linux"; - modules = [ - self.nixosModules.beatific - ./machine/centroid - ]; - }; empyrean = nixpkgs-empyrean.lib.nixosSystem { system = "x86_64-linux"; modules = [ diff --git a/machine/centroid/default.nix b/machine/centroid/default.nix deleted file mode 100644 index 081d128..0000000 --- a/machine/centroid/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ pkgs, ... }: - -{ - imports = [ - ./hardware-configuration.nix - ]; - - boot.loader.grub = { - efiSupport = true; - efiInstallAsRemovable = true; - device = "nodev"; - }; - - beatific.hostName = "centroid"; - beatific.defaults = { - tvbSync = false; - }; - - networking.networkmanager.enable = true; - - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # To avoid needing an active user session, run a single system instance - systemWide = true; - }; - - environment.systemPackages = with pkgs; [ - mpv # cli media player - ]; - - users.users.tvb.extraGroups = [ - "networkmanager" - "pipewire" - ]; - - system.stateVersion = "23.11"; -} diff --git a/machine/centroid/hardware-configuration.nix b/machine/centroid/hardware-configuration.nix deleted file mode 100644 index a6e22ac..0000000 --- a/machine/centroid/hardware-configuration.nix +++ /dev/null @@ -1,40 +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, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/a08e9b3c-8ac7-433e-bf2c-6da234a2fb4a"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/5D60-DD0E"; - fsType = "vfat"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/6dce2950-f8dd-49eb-b4d3-fdcf06cf920b"; } - ]; - - # 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.eno1.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp0s20f0u1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -}