HexName-NixOS/pkgs/extra.nix
2026-01-19 21:47:18 +00:00

50 lines
1 KiB
Nix

{ pkgs, lib, ... }:
{
programs.git = {
enable = true;
config = {
user.name = "Luka Dekanozishvili";
user.email = "me@lukadeka.com";
};
};
networking.networkmanager.enable = true;
security.sudo.wheelNeedsPassword = false;
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = let
locale = "en_US.UTF-8";
in {
LC_ADDRESS = locale;
LC_IDENTIFICATION = locale;
LC_MEASUREMENT = locale;
LC_MONETARY = locale;
LC_NAME = locale;
LC_NUMERIC = locale;
LC_PAPER = locale;
LC_TELEPHONE = locale;
LC_TIME = locale;
};
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
optimise.automatic = true;
package = pkgs.nixVersions.latest;
# Remove warning each rebuild that files aren't commited to git
extraOptions = ''
warn-dirty = false
'';
gc = {
automatic = true;
dates = "Mon *-*-* 16:00:00";
options = "--delete-older-than 90d";
};
};
}