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; [
wireguard-tools
openconnect
];
};

View File

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

View File

@ -27,7 +27,16 @@ in
];
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.optimise.automatic = true;
nixpkgs.hostPlatform = system;
}