Move Envy back to Pear

This commit is contained in:
Bun 2025-04-30 19:34:43 -04:00
parent d2204a4916
commit c04e4203ea
12 changed files with 34 additions and 43 deletions

View file

@ -1,23 +0,0 @@
{ config, ... }:
{
fileSystems = {
# Secondary drive
"/persist/storage" = {
device = "/dev/disk/by-uuid/135281e2-72ec-4c00-91e8-9897a32c02ce";
fsType = "btrfs";
options = [
"nofail"
"nosuid"
];
};
"/persist/home/${config.sysusers.main}/.local/share/Steam" = {
device = "/dev/disk/by-uuid/135281e2-72ec-4c00-91e8-9897a32c02ce";
fsType = "btrfs";
options = [
"nofail"
"nosuid"
"subvol=Steam"
];
};
};
}

View file

@ -1,15 +0,0 @@
{ config, lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd = {
availableKernelModules = [
"xhci_pci"
"sr_mod"
];
kernelModules = [ "dm-snapshot" ];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -2,7 +2,7 @@
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
lanzaboote.enable = true;
loader.systemd-boot.enable = true;
plymouth.enable = true;
};
}

View file

@ -3,14 +3,13 @@
imports = [
./boot
./disko
./filesystems
./hardware
./services
./users
../../modules/system
];
networking.hostName = "envy";
networking.hostName = "pear";
system = {
desktop.enable = true;

View file

@ -0,0 +1,30 @@
{ config, lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/hardware/network/broadcom-43xx.nix")
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd = {
availableKernelModules = [
"nvme"
"sd_mod"
"usb_storage"
"xhci_pci"
];
kernelModules = [
"applespi"
"atkbd"
"dm-snapshot"
"intel_lpss_pci"
"spi_pxa2xx_platform"
];
};
kernelModules = [ "kvm-intel" ];
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}