mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat(misc): laptop fixes
This commit is contained in:
parent
7f69011deb
commit
8872b78a07
9 changed files with 104 additions and 58 deletions
|
|
@ -1,7 +1,12 @@
|
|||
_: let
|
||||
hostConfig = {tree, ...}: {
|
||||
hostConfig = {tree, pkgs, ...}: {
|
||||
imports =
|
||||
(with tree.nixos.profiles; [
|
||||
(with tree.nixos.hardware; [
|
||||
intel_cpu
|
||||
intel_gpu
|
||||
uefi
|
||||
])
|
||||
++ (with tree.nixos.profiles; [
|
||||
graphical
|
||||
wireless
|
||||
laptop
|
||||
|
|
@ -19,6 +24,10 @@ _: let
|
|||
kde
|
||||
]);
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
parsec-bin
|
||||
];
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/a664de0f-9883-420e-acc5-b9602a23e816";
|
||||
|
|
@ -30,10 +39,6 @@ _: let
|
|||
};
|
||||
};
|
||||
|
||||
machine = {
|
||||
cpuVendor = "intel";
|
||||
};
|
||||
|
||||
networking.networkmanager.wifi.backend = "iwd";
|
||||
|
||||
swapDevices = [
|
||||
|
|
@ -42,6 +47,7 @@ _: let
|
|||
|
||||
boot = {
|
||||
supportedFilesystems = ["xfs"];
|
||||
extraModprobeConfig = "options snd_hda_intel power_save=1 power_save_controller=Y";
|
||||
initrd = {
|
||||
availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "sr_mod" "rtsx_usb_sdmmc"];
|
||||
luks.devices."cryptroot".device = "/dev/disk/by-uuid/f0ea08b4-6af7-4d90-a2ad-edd5672a2105";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue