mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-30 23:07:12 +02:00
refactor(home): share XDG base configuration
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
myvars,
|
||||
lib,
|
||||
outputs,
|
||||
}:
|
||||
let
|
||||
username = myvars.username;
|
||||
hosts = [
|
||||
"ai-niri"
|
||||
"aquamarine"
|
||||
"ruby"
|
||||
];
|
||||
in
|
||||
lib.genAttrs hosts (name: {
|
||||
inherit (outputs.nixosConfigurations.${name}.config.home-manager.users.${username}.xdg)
|
||||
enable
|
||||
stateHome
|
||||
;
|
||||
})
|
||||
Reference in New Issue
Block a user