clean(?) stuff

This commit is contained in:
Cy Pokhrel 2024-11-26 01:09:13 -05:00
parent b6a5f08110
commit fd70c920c5
No known key found for this signature in database
GPG key ID: 1200FBE36C2ADE2E
4 changed files with 23 additions and 11 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
{
imports =
@ -15,8 +15,14 @@
"azure" = { };
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
cleanTmpDir = true;
kernelPackages = pkgs.linuxPackages_latest;
};
networking = {
hostName = "ytnix";
@ -301,4 +307,13 @@
};
};
};
nix.registry.nixpkgs.flake = inputs.nixpkgs;
nix.gc = {
automatic = true;
dates = "19:00";
persistent = true;
options = "--delete-older-than 60d";
};
}