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 = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
interval = {
|
|
||||||
Weekday = 0;
|
|
||||||
Hour = 0;
|
|
||||||
Minute = 0;
|
|
||||||
};
|
|
||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,11 @@ let
|
||||||
utils = import ../utils.nix;
|
utils = import ../utils.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nix.gc.interval = {
|
||||||
|
Weekday = 0;
|
||||||
|
Hour = 0;
|
||||||
|
Minute = 0;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
home-manager
|
home-manager
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix.gc.dates = "weekly";
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
sway = {
|
sway = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue