Compare commits

..

No commits in common. "859034da4eedaef19728a266be644d34a96100e0" and "e79a4fb1ee2ea5a26a9f78f029abaf3be45ae191" have entirely different histories.

3 changed files with 14 additions and 9 deletions

View file

@ -1,10 +1,6 @@
{ lib, inputs, config, ... }: { { pkgs, lib, inputs, config, ... }: {
environment.systemPackages = with pkgs; [ nix-output-monitor ];
programs.git.enable = true; programs.git.enable = true;
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 7d";
};
nix = let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs; nix = let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
in { in {
settings = { settings = {
@ -12,6 +8,11 @@
flake-registry = ""; flake-registry = "";
nix-path = config.nix.nixPath; nix-path = config.nix.nixPath;
}; };
gc = {
automatic = true;
options = "--delete-older-than 7d";
dates = "weekly";
};
optimise.automatic = true; optimise.automatic = true;
registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs; registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs;
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs; nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;

View file

@ -200,7 +200,7 @@
stylix = { stylix = {
image = image =
"${pkgs.kdePackages.breeze}/share/wallpapers/Next/contents/images_dark/2560x1440.png"; "${pkgs.breeze-qt5.bin}/share/wallpapers/Next/contents/images_dark/2560x1440.png";
base16Scheme = { base16Scheme = {
#attrSet until the new yaml is supported #attrSet until the new yaml is supported
scheme = "Solar Flare"; scheme = "Solar Flare";

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
@ -79,10 +79,14 @@
}; };
systemd.user = { systemd.user = {
services.gc = {
Service = { Exec = "nix-collect-garbage --delete-older-than 30d"; };
};
timers.gc = { Timer = { OnCalendar = "weekly"; }; };
targets.tray = { targets.tray = {
Unit = { Unit = {
Description = "System Tray"; Description = "System Tray";
Requires = [ "graphical-session.target" ]; Requires = [ "graphical-session-pre.target" ];
}; };
}; };
}; };