🔥 (aurum) use new nixos-hardware config

see https://github.com/NixOS/nixos-hardware/pull/1160
This commit is contained in:
Laureηt 2024-09-29 15:24:53 +02:00
parent 2f82268689
commit 7dee114297
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk
4 changed files with 13 additions and 30 deletions

View file

@ -322,11 +322,11 @@
},
"impermanence": {
"locked": {
"lastModified": 1727198257,
"narHash": "sha256-/qMVI+SG9zvhLbQFOnqb4y4BH6DdK3DQHZU5qGptehc=",
"lastModified": 1727556076,
"narHash": "sha256-5Iplxbdn/7kQp4UYXMnUMFL2i2lyysOhRyzvvtPe1Qc=",
"owner": "nix-community",
"repo": "impermanence",
"rev": "8514fff0f048557723021ffeb31ca55f69b67de3",
"rev": "fff0d95cf40609941769a443a001b25fb95b68ab",
"type": "github"
},
"original": {
@ -387,15 +387,16 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1727528503,
"narHash": "sha256-wZd8OqPeQt9h7VU2VxsW4Vx0Ze+3hDLHql3pNbIMYEU=",
"owner": "nixos",
"lastModified": 1727614618,
"narHash": "sha256-8HnTbBaYUeLXsgAbdEi25PRL5pQl7hKOkxpwviEn/zY=",
"owner": "Laurent2916",
"repo": "nixos-hardware",
"rev": "c1f051bf032273b9f0e707c8826eb25122d279fa",
"rev": "1996e6da672e5eea9144442cd431118407fbc4bc",
"type": "github"
},
"original": {
"owner": "nixos",
"owner": "Laurent2916",
"ref": "dell-xps-9315",
"repo": "nixos-hardware",
"type": "github"
}

View file

@ -47,7 +47,7 @@
# inputs.nixpkgs.follows = "nixpkgs"; # leads to many recompilations
};
nixos-hardware = {
url = "github:nixos/nixos-hardware";
url = "github:Laurent2916/nixos-hardware/dell-xps-9315";
};
impermanence = {
url = "github:nix-community/impermanence";

View file

@ -1,9 +1,6 @@
{pkgs, ...}: {
{...}: {
# hardware
hardware = {
enableRedistributableFirmware = true;
graphics.enable = true;
};
hardware.graphics.enable = true;
# logind configuration
services.logind = {
@ -16,9 +13,6 @@
# tlp, power management
services.tlp.enable = true;
# thermald, controls temperature
services.thermald.enable = true;
# bluetooth
hardware.bluetooth.enable = true;
services.blueman.enable = true;
@ -30,15 +24,6 @@
./partitions.nix
];
# enable finger print sensor.
# this has to be configured with `sudo fprintd-enroll <username>`.
services.fprintd.enable = true;
services.fprintd.tod.enable = true;
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
# Allows for updating firmware via `fwupdmgr`.
services.fwupd.enable = true;
# webcam
# hardware.firmware = [
# pkgs.ivsc-firmware

View file

@ -46,10 +46,7 @@ in {
# inputs.disko.nixosModules.default
# inputs.lanzaboote.nixosModules.lanzaboote
# inputs.impermanence.nixosModules.impermanence
# inputs.nixos-hardware.nixosModules.dell-xps-13-something
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
inputs.nixos-hardware.nixosModules.dell-xps-13-9315
{inherit home-manager;}
];
};