use stdenv.hostPlatform.system instead of system
This commit is contained in:
+8
-1
@@ -13,6 +13,13 @@
|
|||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
|
||||||
users.users.aditya = {
|
users.users.aditya = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "aditya";
|
description = "aditya";
|
||||||
@@ -36,6 +43,6 @@
|
|||||||
zed-editor
|
zed-editor
|
||||||
devenv
|
devenv
|
||||||
nixd
|
nixd
|
||||||
inputs.pano-scrobbler.packages."x86_64-linux".default
|
inputs.pano-scrobbler.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,12 +14,5 @@
|
|||||||
LC_TIME = "en_IN";
|
LC_TIME = "en_IN";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
}
|
}
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./bootloader.nix
|
./bootloader.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./configuration.nix
|
./config.nix
|
||||||
./overlays.nix
|
./overlays.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
(final: prev:
|
(final: prev:
|
||||||
let
|
let
|
||||||
unstable-pkgs = import inputs.nixpkgs-unstable {
|
unstable-pkgs = import inputs.nixpkgs-unstable {
|
||||||
inherit (prev) system;
|
system = prev.stdenv.hostPlatform.system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
config.allowUnsupportedSystem = true;
|
config.allowUnsupportedSystem = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user