!fix: try to fix
evaluation warning: kirill profile: You have set either `nixpkgs.config` or `nixpkgs.overlays` while using `home-manager.useGlobalPkgs`.
This will soon not be possible. Please remove all `nixpkgs` options when using `home-manager.useGlobalPkgs`.
This commit is contained in:
1 parent
209e7c94f4
commit
259d73fb0f
2 files changed
+4
-2
No files matched your search
@@ -58,7 +58,10 @@
|
|||||||
pkgs-stable = import nixpkgs-stable { inherit system config; };
|
pkgs-stable = import nixpkgs-stable { inherit system config; };
|
||||||
pkgs-pinned = import nixpkgs-pinned { inherit system config; };
|
pkgs-pinned = import nixpkgs-pinned { inherit system config; };
|
||||||
};
|
};
|
||||||
modules = [ ./host/${hostname}/configuration.nix ];
|
modules = [
|
||||||
|
./host/${hostname}/configuration.nix
|
||||||
|
{ nixpkgs.config = config; }
|
||||||
|
];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{ pkgs, inputs, ... }: {
|
{ pkgs, inputs, ... }: {
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
file
|
file
|
||||||
|
|||||||
Reference in new issue
Block a user