diff --git a/flake.nix b/flake.nix index 82ed057..e272c9e 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,7 @@ nvf.url = "git+https://gitea.homework.zip/five/neovim"; home-manager = { - url = "github:nix-community/home-manager/master"; # Optional, use master for latest HM + url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; }; @@ -17,7 +17,7 @@ }; stylix = { - url = "github:danth/stylix"; # stylix follows unstable automatically + url = "github:danth/stylix"; inputs.nixpkgs.follows = "nixpkgs"; }; rocm = { diff --git a/nixos/system/system-packages.nix b/nixos/system/system-packages.nix index 9a0ea1d..985b863 100644 --- a/nixos/system/system-packages.nix +++ b/nixos/system/system-packages.nix @@ -9,6 +9,8 @@ mesa libxkbcommon clinfo + pkg-config + alsa-lib.dev ]; hardware.opengl.extraPackages = with pkgs; [ diff --git a/nixos/system/system-settings.nix b/nixos/system/system-settings.nix index 5e37966..c4e7eb1 100644 --- a/nixos/system/system-settings.nix +++ b/nixos/system/system-settings.nix @@ -28,4 +28,6 @@ ]; services.upower.enable = true; + + hardware.alsa.enablePersistence = true; }