🔥 (aurum) use new nixos-hardware config
see https://github.com/NixOS/nixos-hardware/pull/1160
This commit is contained in:
parent
2f82268689
commit
7dee114297
17
flake.lock
17
flake.lock
|
@ -322,11 +322,11 @@
|
||||||
},
|
},
|
||||||
"impermanence": {
|
"impermanence": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727198257,
|
"lastModified": 1727556076,
|
||||||
"narHash": "sha256-/qMVI+SG9zvhLbQFOnqb4y4BH6DdK3DQHZU5qGptehc=",
|
"narHash": "sha256-5Iplxbdn/7kQp4UYXMnUMFL2i2lyysOhRyzvvtPe1Qc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "impermanence",
|
"repo": "impermanence",
|
||||||
"rev": "8514fff0f048557723021ffeb31ca55f69b67de3",
|
"rev": "fff0d95cf40609941769a443a001b25fb95b68ab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -387,15 +387,16 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727528503,
|
"lastModified": 1727614618,
|
||||||
"narHash": "sha256-wZd8OqPeQt9h7VU2VxsW4Vx0Ze+3hDLHql3pNbIMYEU=",
|
"narHash": "sha256-8HnTbBaYUeLXsgAbdEi25PRL5pQl7hKOkxpwviEn/zY=",
|
||||||
"owner": "nixos",
|
"owner": "Laurent2916",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "c1f051bf032273b9f0e707c8826eb25122d279fa",
|
"rev": "1996e6da672e5eea9144442cd431118407fbc4bc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "Laurent2916",
|
||||||
|
"ref": "dell-xps-9315",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
# inputs.nixpkgs.follows = "nixpkgs"; # leads to many recompilations
|
# inputs.nixpkgs.follows = "nixpkgs"; # leads to many recompilations
|
||||||
};
|
};
|
||||||
nixos-hardware = {
|
nixos-hardware = {
|
||||||
url = "github:nixos/nixos-hardware";
|
url = "github:Laurent2916/nixos-hardware/dell-xps-9315";
|
||||||
};
|
};
|
||||||
impermanence = {
|
impermanence = {
|
||||||
url = "github:nix-community/impermanence";
|
url = "github:nix-community/impermanence";
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{...}: {
|
||||||
# hardware
|
# hardware
|
||||||
hardware = {
|
hardware.graphics.enable = true;
|
||||||
enableRedistributableFirmware = true;
|
|
||||||
graphics.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# logind configuration
|
# logind configuration
|
||||||
services.logind = {
|
services.logind = {
|
||||||
|
@ -16,9 +13,6 @@
|
||||||
# tlp, power management
|
# tlp, power management
|
||||||
services.tlp.enable = true;
|
services.tlp.enable = true;
|
||||||
|
|
||||||
# thermald, controls temperature
|
|
||||||
services.thermald.enable = true;
|
|
||||||
|
|
||||||
# bluetooth
|
# bluetooth
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
@ -30,15 +24,6 @@
|
||||||
./partitions.nix
|
./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
|
# webcam
|
||||||
# hardware.firmware = [
|
# hardware.firmware = [
|
||||||
# pkgs.ivsc-firmware
|
# pkgs.ivsc-firmware
|
||||||
|
|
|
@ -46,10 +46,7 @@ in {
|
||||||
# inputs.disko.nixosModules.default
|
# inputs.disko.nixosModules.default
|
||||||
# inputs.lanzaboote.nixosModules.lanzaboote
|
# inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
# inputs.impermanence.nixosModules.impermanence
|
# inputs.impermanence.nixosModules.impermanence
|
||||||
# inputs.nixos-hardware.nixosModules.dell-xps-13-something
|
inputs.nixos-hardware.nixosModules.dell-xps-13-9315
|
||||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
|
||||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
|
||||||
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
|
||||||
{inherit home-manager;}
|
{inherit home-manager;}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue