2024-05-01 21:10:26 -04:00
|
|
|
# Set up program defaults
|
2024-05-07 18:02:59 -04:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
# Set up base apps
|
|
|
|
programs = {
|
|
|
|
direnv.enable = true;
|
2024-05-01 21:10:26 -04:00
|
|
|
|
2024-05-07 18:02:59 -04:00
|
|
|
nano = {
|
|
|
|
enable = true;
|
|
|
|
syntaxHighlight = true;
|
|
|
|
nanorc = ''
|
|
|
|
set linenumbers
|
|
|
|
set tabsize 4
|
|
|
|
set softwrap
|
|
|
|
'';
|
|
|
|
};
|
2024-05-01 21:10:26 -04:00
|
|
|
|
2024-05-07 18:02:59 -04:00
|
|
|
nh = {
|
|
|
|
enable = true;
|
2024-05-30 14:08:19 -04:00
|
|
|
flake = "${config.secrets.nixConfigFolder}";
|
2024-05-07 18:02:59 -04:00
|
|
|
|
|
|
|
# Alternative garbage collection system to nix.gc.automatic
|
|
|
|
clean = {
|
|
|
|
enable = true;
|
|
|
|
dates = "daily";
|
|
|
|
extraArgs = "--keep-since 7d --keep 10"; # Keep the last 10 entries
|
|
|
|
};
|
|
|
|
};
|
2024-06-03 09:05:32 -04:00
|
|
|
|
|
|
|
# Support for standard, dynamically-linked executables
|
|
|
|
nix-ld.enable = true;
|
2024-05-07 18:02:59 -04:00
|
|
|
};
|
|
|
|
}
|