create pacifidlog hardware config
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-10-13 14:22:59 -04:00
parent 612c98b4e2
commit 28b459a615
5 changed files with 37 additions and 31 deletions

View file

@ -158,6 +158,7 @@
hw-common-ssd = import ./hwModules/common/ssd;
hw-framework-13-amd-7000 = import ./hwModules/framework/13/amd-7000;
hw-framework-13-intel-11th = import ./hwModules/framework/13/intel-11th;
hw-lenovo-legion-go = import ./hwModules/lenovo/legion/go;
hw-lenovo-yoga-9i-intel-13th = import ./hwModules/lenovo/yoga-9i/intel-13th;
hw-thinkpad-t440p = import ./hwModules/thinkpad/t440p;

View file

@ -2,7 +2,6 @@
{
config,
lib,
pkgs,
self,
...
}: {
@ -19,27 +18,11 @@
self.nixosModules.common-pkgs
self.nixosModules.common-tailscale
self.nixosModules.common-wifi-profiles
self.nixosModules.hw-common-amd-cpu
self.nixosModules.hw-common-amd-gpu
self.nixosModules.hw-common-bluetooth
self.nixosModules.hw-common-ssd
self.nixosModules.hw-lenovo-legion-go
];
boot = {
initrd = {
availableKernelModules = [
"nvme"
"sdhci_pci"
"thunderbolt"
"usb_storage"
"usbhid"
"xhci_pci"
];
systemd.enable = true;
};
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
initrd.systemd.enable = true;
# lanzaboote = {
# enable = true;
@ -93,14 +76,9 @@
})
];
services = {
handheld-daemon = {
enable = true;
user = "aly";
};
power-profiles-daemon.enable = true;
upower.enable = true;
services.handheld-daemon = {
enable = true;
user = "aly";
};
system.stateVersion = "24.11";

View file

@ -1,3 +0,0 @@
{...}: {
hardware.enableAllFirmware = true;
}

View file

@ -0,0 +1,29 @@
{
pkgs,
lib,
self,
...
}: {
imports = [
self.nixosModules.hw-common-amd-cpu
self.nixosModules.hw-common-amd-gpu
self.nixosModules.hw-common-bluetooth
self.nixosModules.hw-common-ssd
];
boot = {
initrd.availableKernelModules = ["nvme" "sdhci_pci" "thunderbolt" "usb_storage" "usbhid" "xhci_pci"];
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
};
hardware = {
enableAllFirmware = true;
sensor.iio.enable = true;
};
services = {
power-profiles-daemon.enable = true;
upower.enable = true;
};
}

View file

@ -10,7 +10,6 @@
../../../common/laptop
../../../common/laptop/intel-cpu.nix
../../../common/ssd
../../common.nix
../common.nix
];
@ -18,4 +17,6 @@
initrd.availableKernelModules = ["nvme" "sd_mod" "thunderbolt" "usb_storage" "xhci_pci"];
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
};
hardware.enableAllFirmware = true;
}