nix: change from pkgs.system to stdenv.hostPlatform.system

This commit is contained in:
Christoph Hollizeck 2025-11-07 14:40:05 +01:00
parent e5143c2000
commit c57ec4fc2f
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
14 changed files with 241 additions and 129 deletions

View file

@ -7,7 +7,7 @@
...
}:
let
helix-pkg = inputs.helix.packages.${pkgs.system}.default;
helix-pkg = inputs.helix.packages.${pkgs.stdenv.hostPlatform.system}.default;
in
{
environment = {
@ -26,7 +26,7 @@
...
}:
let
helix-pkg = inputs.helix.packages.${pkgs.system}.default;
helix-pkg = inputs.helix.packages.${pkgs.stdenv.hostPlatform.system}.default;
in
{
home.file.".config/helix/ignore".text = ''

View file

@ -27,7 +27,7 @@
programs.nh = {
enable = true;
package = inputs.nh-flake.packages.${pkgs.system}.nh;
package = inputs.nh-flake.packages.${pkgs.stdenv.hostPlatform.system}.nh;
flake = "/home/${username}/projects/config";
};
@ -59,12 +59,14 @@
"https://nix-community.cachix.org"
"https://nixcache.christophhollizeck.dev"
"https://hyprland.cachix.org"
"https://nix-gaming.cachix.org"
];
trusted-public-keys = [
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"christophhollizeck.dev:7pPAvm9xqFQB8FDApVNL6Tii1Jsv+Sj/LjEIkdeGhbA="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
];
}
// (lib.optionalAttrs config.programs.direnv.enable {