fix gc scheduling for Linux and Mac (read systemd & launchd) that uses
different formats.
This commit is contained in:
parent
42a745b98d
commit
09d232dfc6
3 changed files with 7 additions and 5 deletions
|
|
@ -21,11 +21,6 @@
|
|||
|
||||
gc = {
|
||||
automatic = true;
|
||||
interval = {
|
||||
Weekday = 0;
|
||||
Hour = 0;
|
||||
Minute = 0;
|
||||
};
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@ let
|
|||
utils = import ../utils.nix;
|
||||
in
|
||||
{
|
||||
nix.gc.interval = {
|
||||
Weekday = 0;
|
||||
Hour = 0;
|
||||
Minute = 0;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
home-manager
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
nix.gc.dates = "weekly";
|
||||
|
||||
programs = {
|
||||
xwayland.enable = true;
|
||||
sway = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue