tweak tooling

This commit is contained in:
Grimmauld 2024-04-30 12:08:28 +02:00
parent cd69ae9f66
commit 569b36c752
Signed by: Grimmauld
GPG Key ID: C2946668769F91FB
3 changed files with 21 additions and 1 deletions

View File

@ -11,6 +11,7 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wireguard-tools wireguard-tools
openconnect
]; ];
}; };

View File

@ -21,6 +21,7 @@ in
pkg-config pkg-config
unzip unzip
p7zip p7zip
dos2unix
tea tea
eza eza
@ -63,9 +64,17 @@ in
user.name = cfg.tooling.git_user; user.name = cfg.tooling.git_user;
user.email = cfg.tooling.git_email; user.email = cfg.tooling.git_email;
push.autoSetupRemote = true; push.autoSetupRemote = true;
core.autocrlf = "input";
commit.gpgsign = true;
pull.rebase = true;
}; };
}; };
environment.shellAliases = {
":q" = "exit";
"ls" = "eza";
};
programs.tmux = { programs.tmux = {
enable = true; enable = true;
historyLimit = 42000; historyLimit = 42000;
@ -95,6 +104,7 @@ in
set fileencodings=utf-8 set fileencodings=utf-8
set nocompatible set nocompatible
set clipboard+=unnamedplus set clipboard+=unnamedplus
set ff=unix
luafile ${luarc} luafile ${luarc}

View File

@ -27,7 +27,16 @@ in
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
warn-dirty = false;
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
nix.package = pkgs.nixVersions.unstable; nix.package = pkgs.nixVersions.unstable;
nix.optimise.automatic = true;
nixpkgs.hostPlatform = system; nixpkgs.hostPlatform = system;
} }