mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
vanadium: home-manager shorthand
This commit is contained in:
parent
0a1f540db2
commit
f67248648c
1 changed files with 52 additions and 50 deletions
|
|
@ -18,6 +18,7 @@ in
|
||||||
# Shorthands
|
# Shorthands
|
||||||
#
|
#
|
||||||
(mkAliasOptionModule ["me"] ["users" "users" username])
|
(mkAliasOptionModule ["me"] ["users" "users" username])
|
||||||
|
(mkAliasOptionModule ["hm"] ["home-manager" "users" username])
|
||||||
|
|
||||||
#
|
#
|
||||||
# hostname
|
# hostname
|
||||||
|
|
@ -98,7 +99,9 @@ in
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
sharedModules = [{home.stateVersion = lib.mkDefault config.system.stateVersion;}];
|
sharedModules = [{home.stateVersion = lib.mkDefault config.system.stateVersion;}];
|
||||||
users.leana.imports = [
|
};
|
||||||
|
|
||||||
|
hm.imports = [
|
||||||
#
|
#
|
||||||
# hostname
|
# hostname
|
||||||
#
|
#
|
||||||
|
|
@ -148,7 +151,6 @@ in
|
||||||
(sources.agenix + "/modules/age-home.nix")
|
(sources.agenix + "/modules/age-home.nix")
|
||||||
((import sources.wired-notify).homeManagerModules.default)
|
((import sources.wired-notify).homeManagerModules.default)
|
||||||
];
|
];
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue