mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
add apps
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.nh ];
|
||||
home.sessionVariables.NH_FLAKE = "${config.home.homeDirectory}/dotfiles";
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{ primaryUser, ... }:
|
||||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = "/home/${primaryUser}/dotfiles";
|
||||
clean = {
|
||||
enable = true;
|
||||
dates = "weekly";
|
||||
extraArgs = "--keep-since 14d --keep 10";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user