diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-07 09:31:01 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-07 09:31:01 +0200 |
commit | 73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff (patch) | |
tree | 9555352bed8b08d4c4d28ea5911144ecb5b0ae1a /hosts/sif/default.nix | |
parent | 0213eba25b05c1cdd8d11f936c77c85f25094120 (diff) | |
download | nixos-73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff.tar nixos-73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff.tar.gz nixos-73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff.tar.bz2 nixos-73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff.tar.xz nixos-73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff.zip |
...
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r-- | hosts/sif/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 610d990d..3525015d 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { flake, pkgs, customUtils, lib, config, path, ... }: | 1 | { flake, flakeInputs, pkgs, customUtils, lib, config, path, ... }: |
2 | let | 2 | let |
3 | mwnSubnetsPublic = | 3 | mwnSubnetsPublic = |
4 | [ "129.187.0.0/16" "141.40.0.0/16" "141.84.0.0/16" | 4 | [ "129.187.0.0/16" "141.40.0.0/16" "141.84.0.0/16" |
@@ -15,6 +15,7 @@ in { | |||
15 | 15 | ||
16 | tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines | 16 | tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines |
17 | networkmanager | 17 | networkmanager |
18 | flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 | ||
18 | ]; | 19 | ]; |
19 | 20 | ||
20 | config = { | 21 | config = { |
@@ -59,7 +60,6 @@ in { | |||
59 | plymouth.enable = true; | 60 | plymouth.enable = true; |
60 | 61 | ||
61 | kernelPackages = pkgs.linuxPackages_latest; | 62 | kernelPackages = pkgs.linuxPackages_latest; |
62 | kernelParams = [ "i915.fastboot=1" "intel_pstate=no_hwp" "acpi_backlight=vendor" "thinkpad-acpi.brightness_enable=1" "quiet" ]; | ||
63 | extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; | 63 | extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; |
64 | kernelModules = ["v4l2loopback"]; | 64 | kernelModules = ["v4l2loopback"]; |
65 | kernelPatches = [ | 65 | kernelPatches = [ |
@@ -536,7 +536,7 @@ in { | |||
536 | prime = { | 536 | prime = { |
537 | nvidiaBusId = "PCI:1:0:0"; | 537 | nvidiaBusId = "PCI:1:0:0"; |
538 | intelBusId = "PCI:0:2:0"; | 538 | intelBusId = "PCI:0:2:0"; |
539 | sync.enable = true; | 539 | reverseSync.enable = true; |
540 | }; | 540 | }; |
541 | }; | 541 | }; |
542 | 542 | ||