remove unused systems

This commit is contained in:
twoneis 2025-01-08 18:13:30 +01:00
parent 59435c357f
commit c3f1d785e4
6 changed files with 0 additions and 176 deletions

View file

@ -1,77 +0,0 @@
{ config, pkgs, ... }: let
inherit (config.device) disks;
in{
imports = [
./options.nix
./disks.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
networking.hostName = "ellaca";
boot = {
initrd = {
availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
};
kernelModules = [ "kvm-amd" ];
kernelPackages = pkgs.linuxPackages_zen;
loader = {
efi.canTouchEfiVariables = true;
grub = {
enable = true;
efiSupport = true;
device = "nodev";
useOSProber = true;
font = null;
splashImage = null;
};
};
};
fileSystems = {
"/boot" = {
device = "/dev/disk/by-uuid/${disks.boot}";
fsType = "vfat";
};
"/" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=root" "compress=zstd" "noatime" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ];
};
"/ext" = {
device = "/dev/disk/by-uuid/${disks.ext}";
fsType = "btrfs";
options = [ "subvol=ext" "compress=zstd" "noatime" ];
};
};
services = {
xserver.videoDrivers = ["nvidia"];
};
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
cpu.amd.updateMicrocode = true;
nvidia = {
modesetting.enable = true;
nvidiaSettings = false;
package = config.boot.kernelPackages.nvidiaPackages.vulkan_beta;
};
graphics = {
enable = true;
enable32Bit = true;
};
};
}

View file

@ -1,7 +0,0 @@
{ ... }: {
device.disks = {
boot = "12CE-A600";
root = "b4a61b48-017f-4d16-ab05-d5c867f2ca6f";
ext = "3ed92a26-775a-4e39-ac1c-84b2822cd3dd";
};
}

View file

@ -1,9 +0,0 @@
{ ... }: {
conf = {
apps.enable = true;
niri.enable = true;
stateVersion = "24.05";
hmStateVersion = "24.11";
};
}

View file

@ -1,70 +0,0 @@
{ config, pkgs, ... }: let
inherit (config.device) disks;
in {
imports = [
./options.nix
./disks.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
networking.hostName = "pleniscenta";
boot = {
initrd = {
availableKernelModules = [ "ahci" "xhci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
luks.devices.root.device = "/dev/disk/by-uuid/${disks.crypt}";
};
kernelModules = [ "kvm-intel" ];
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
};
fileSystems = {
"/boot" = {
device = "/dev/disk/by-uuid/${disks.boot}";
fsType = "vfat";
};
"/" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=root" "compress=zstd" "noatime" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ];
};
"/persist" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=persist" "compress=zstd" "noatime" ];
};
"/swap" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=swap" "noatime" ];
};
};
swapDevices = [ { device = "/swap/swapfile"; } ];
services.thermald.enable = true;
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
cpu.intel.updateMicrocode = true;
graphics = {
enable = true;
enable32Bit = true;
};
};
}

View file

@ -1,7 +0,0 @@
{ ... }: {
device.disks = {
crypt = "470a6d23-9f08-4c4d-afbb-63d6df1ab6a6";
boot = "4A39-D0DF";
root = "75e6536a-4836-4f50-86b3-f9250edca3c0";
};
}

View file

@ -1,6 +0,0 @@
{ ... }: {
conf = {
stateVersion = "24.05";
hmStateVersion = "24.11";
};
}