consolidating desktop and thinkpad config

This commit is contained in:
2026-08-04 20:03:09 -06:00
parent 3adbb09410
commit 5210eb3b08
10 changed files with 89 additions and 42 deletions
+12
View File
@@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
imports = [
./hardware.nix
../../system
];
networking.hostName = "violet";
system.stateVersion = "26.05";
}
+33
View File
@@ -0,0 +1,33 @@
# 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" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2fc352b4-3b86-4282-9eb8-0bcaf6d48cd1";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0CB6-7449";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/8f8fdc73-d963-4665-b7e4-28eb43958ebe"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
@@ -7,7 +7,7 @@
../../system/security/thinkpad.nix
];
networking.hostName = "nix-pad";
networking.hostName = "lavender";
services.power-profiles-daemon.enable = false;