mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 09:31:54 -05:00
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
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:
parent
612c98b4e2
commit
28b459a615
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,16 +76,11 @@
|
|||
})
|
||||
];
|
||||
|
||||
services = {
|
||||
handheld-daemon = {
|
||||
services.handheld-daemon = {
|
||||
enable = true;
|
||||
user = "aly";
|
||||
};
|
||||
|
||||
power-profiles-daemon.enable = true;
|
||||
upower.enable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
ar = {
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{...}: {
|
||||
hardware.enableAllFirmware = true;
|
||||
}
|
29
hwModules/lenovo/legion/go/default.nix
Normal file
29
hwModules/lenovo/legion/go/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue