51 lines
737 B
Nix
51 lines
737 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
## Optimizations
|
|
|
|
# Link identical files
|
|
nix.settings.auto-optimise-store = true;
|
|
|
|
# Garbage collection
|
|
nix.gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
|
|
## Other
|
|
|
|
# Flakes
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
# Enable fish (needed for nix completions)
|
|
programs.fish.enable = true;
|
|
|
|
# Packages used on all systems
|
|
environment.systemPackages = with pkgs; [
|
|
ccase
|
|
comma
|
|
dogdns
|
|
du-dust
|
|
git
|
|
headscale
|
|
imagemagick
|
|
jq
|
|
killall
|
|
mtr
|
|
nmap
|
|
openssl
|
|
rsync
|
|
sqlite-interactive
|
|
wget
|
|
xclip
|
|
];
|
|
|
|
services.tailscale.enable = true;
|
|
|
|
# 🥺
|
|
# security.please.enable = true;
|
|
}
|