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

refactor: put users in separate file

This commit is contained in:
Ryan Cao 2023-08-15 11:34:20 +08:00
parent 132956970f
commit af074f2756
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
3 changed files with 26 additions and 21 deletions

20
users.nix Normal file
View file

@ -0,0 +1,20 @@
{
catppuccin,
discord-applemusic-rich-presence,
...
}: {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
ctpModule = catppuccin.homeManagerModules.catppuccin;
discord-applemusic-rich-presence = discord-applemusic-rich-presence.homeManagerModules.default;
};
users.ryanccn = import ./home.nix;
};
users.users.ryanccn = {
home = "/Users/ryanccn";
};
}