weee new laptoo
This commit is contained in:
parent
c2af5792d1
commit
38b26a082f
14 changed files with 148 additions and 141 deletions
|
|
@ -8,7 +8,11 @@ in {
|
|||
laptop = mkEnableOption "Enable laptop specific tweaks";
|
||||
};
|
||||
|
||||
config = {
|
||||
# TODO: add something here loooool
|
||||
};
|
||||
config = mkMerge [
|
||||
(mkIf cfg.laptop {
|
||||
# services that help w/ battery saving
|
||||
powerManagement.powertop.enable = true;
|
||||
services.power-profiles-daemon.enable = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ in {
|
|||
];
|
||||
})
|
||||
(mkIf cfg.v4l2 {
|
||||
boot.kernelModules = ["v4l2loopback"];
|
||||
boot.kernelModules = [ "v4l2loopback" ];
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
})
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{ lib, pkgs, inputs, config, ... }:
|
||||
|
||||
let
|
||||
gcConfig = {
|
||||
automatic = true;
|
||||
|
|
@ -31,7 +32,7 @@ in {
|
|||
"https://niri.cachix.org"
|
||||
"https://vicinae.cachix.org"
|
||||
"https://cache.garnix.io"
|
||||
# "https://cache.soopy.moe"
|
||||
"https://nixos-apple-silicon.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
|
|
@ -40,7 +41,7 @@ in {
|
|||
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964="
|
||||
"vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc="
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
# "cache.soopy.moe-1:0RZVsQeR+GOh0VQI9rvnHz55nVXkFardDqfm4+afjPo="
|
||||
"nixos-apple-silicon.cachix.org-1:8psDu5SA5dAD7qA0zMy5UT292TxeEPzIz8VVEr2Js20="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue