Add nixos-hardwares

This commit is contained in:
2024-02-21 23:52:59 +01:00
parent 2ec5b8d244
commit 474ffb0a61
3 changed files with 27 additions and 5 deletions
Generated
+17
View File
@@ -234,6 +234,22 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1708091350,
"narHash": "sha256-o28BJYi68qqvHipT7V2jkWxDiMS1LF9nxUsou+eFUPQ=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "106d3fec43bcea19cb2e061ca02531d54b542ce3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1708296515,
@@ -257,6 +273,7 @@
"home-manager": "home-manager",
"impermanence": "impermanence",
"neovim-nightly": "neovim-nightly",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
}
},
+8 -4
View File
@@ -8,6 +8,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
impermanence.url = "github:nix-community/impermanence";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
neovim-nightly = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
@@ -38,6 +39,7 @@
dwl-source,
flood,
impermanence,
nixos-hardware,
...
} @ inputs: let
user = "zoriya";
@@ -90,15 +92,17 @@
in {
nixosConfigurations = {
fuhen = mkSystem "fuhen" "dwl" [
nixos-hardware.nixosModules.tuxedo-infinitybook-pro14-gen7
({
lib,
pkgs,
...
}: {
hardware.tuxedo-rs = {
enable = true;
tailor-gui.enable = true;
};
# hardware.tuxedo-rs = {
# enable = true;
# tailor-gui.enable = true;
# };
hardware.keyboard.zsa.enable = true;
environment.systemPackages = with pkgs; [wally-cli];
+2 -1
View File
@@ -66,7 +66,7 @@
];
};
snapraid = {
services.snapraid = {
enable = true;
exclude = [
"*.unrecoverable"
@@ -106,6 +106,7 @@
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [ vaapiVdpau ];
};
# Load nvidia driver for Xorg and Wayland