52 lines
1.1 KiB
Nix
52 lines
1.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;
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
# 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";
|
|
};
|
|
};
|
|
}
|
|
|