mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: work on laptop and shell stuff
This commit is contained in:
parent
a4b63004fb
commit
1071288f6e
21 changed files with 165 additions and 38 deletions
|
|
@ -184,9 +184,6 @@ _: let
|
|||
};
|
||||
|
||||
boot = {
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
config.boot.kernelPackages.v4l2loopback.out
|
||||
];
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ _: let
|
|||
hostConfig = {
|
||||
tree,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.attrsets) nameValuePair listToAttrs;
|
||||
|
|
@ -97,23 +96,17 @@ _: let
|
|||
|
||||
powerManagement.enable = true;
|
||||
|
||||
hardware.framework.enableKmod = false;
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
grub.useOSProber = true;
|
||||
systemd-boot.enable = lib.mkForce false;
|
||||
#systemd-boot.enable = lib.mkForce false;
|
||||
systemd-boot.enable = true;
|
||||
};
|
||||
zfs = {
|
||||
forceImportRoot = false;
|
||||
allowHibernation = true;
|
||||
};
|
||||
kernelModules = ["cros_ec" "cros_ec_lpcs"];
|
||||
extraModprobeConfig = "options snd_hda_intel power_save=0";
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
config.boot.kernelPackages.v4l2loopback.out
|
||||
framework-laptop-kmod
|
||||
];
|
||||
};
|
||||
|
||||
# optional, useful when the builder has a faster internet connection than yours
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue