mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-06 21:36:34 +05:30
refactor: split code into modules
This commit is contained in:
16
modules/base/nh.nix
Normal file
16
modules/base/nh.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
config,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
|
||||
clean = {
|
||||
enable = !config.nix.gc.automatic;
|
||||
dates = "weekly";
|
||||
};
|
||||
|
||||
flake = "/home/${username}/Projects/nixos-config";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user