diff --git a/flake.lock b/flake.lock index 46c1149..8176cbd 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } }, diff --git a/flake.nix b/flake.nix index 5370f65..a3ce106 100644 --- a/flake.nix +++ b/flake.nix @@ -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]; diff --git a/hosts/kadan/hardware-configuration.nix b/hosts/kadan/hardware-configuration.nix index 5772706..b619c0b 100644 --- a/hosts/kadan/hardware-configuration.nix +++ b/hosts/kadan/hardware-configuration.nix @@ -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