Getting more idomatic nix modules setup... will tackle users dir later
This commit is contained in:
parent
6316fffeb1
commit
913cff0ffa
41 changed files with 675 additions and 498 deletions
23
modules/home_manager.nix
Normal file
23
modules/home_manager.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
settings,
|
||||
ylib,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
home-manager = settings.home-manager;
|
||||
in
|
||||
{
|
||||
imports = [ home-manager.nixosModules.home-manager ];
|
||||
|
||||
# Home manager options
|
||||
security.polkit.enable = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit settings;
|
||||
inherit ylib;
|
||||
inherit (inputs) ragenix;
|
||||
inherit (config) age;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue