home manager use nixpkgs-unstable
This commit is contained in:
parent
446e1f20a1
commit
9fa62a9695
3 changed files with 28 additions and 21 deletions
|
|
@ -2,10 +2,16 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
nixpkgs-unstable,
|
||||
...
|
||||
}:
|
||||
let
|
||||
p = import ../parameters.nix;
|
||||
system = "x86_64-linux";
|
||||
pkgsUnstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
|
|
@ -47,9 +53,10 @@ in
|
|||
];
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useGlobalPkgs = false;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "backup";
|
||||
extraSpecialArgs = { pkgs = pkgsUnstable; };
|
||||
users.${p.personal.username} = {
|
||||
imports = [ ../home.nix ];
|
||||
home.stateVersion = "25.11";
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ let
|
|||
unstable = cfg.unstable or false;
|
||||
extraModules = cfg.extraModules or [ ];
|
||||
specialArgs = {
|
||||
inherit authentik-nix;
|
||||
inherit authentik-nix nixpkgs-unstable;
|
||||
}
|
||||
// (cfg.specialArgs or { });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue