1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

use config.xdg.configHome

This commit is contained in:
Ryan Cao 2023-07-20 09:00:47 +08:00
parent e9cd726a29
commit dab9d5a28a
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 7 additions and 5 deletions

View file

@ -128,13 +128,14 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
nixpkgs.overlays = [attic.overlays.default];
users.users.ryanccn.home = "/Users/ryanccn";
home-manager.users.ryanccn = import ./home.nix {
home-manager.extraSpecialArgs = {
agenixModule = agenix.homeManagerModules.age;
ctpModule = catppuccin.homeManagerModules.catppuccin;
};
nixpkgs.overlays = [attic.overlays.default];
users.users.ryanccn.home = "/Users/ryanccn";
home-manager.users.ryanccn = import ./home.nix;
}
];
};

View file

@ -1,4 +1,5 @@
{
config,
agenixModule,
ctpModule,
...
@ -22,6 +23,6 @@
age.secrets."attic.toml" = {
file = ./secrets/attic.toml.age;
path = "/Users/ryanccn/.config/attic/config.toml";
path = "${config.xdg.configHome}/attic/config.toml";
};
}