{ pkgs, ... }: { nixpkgs.config.allowUnfree = true; nix.settings = { experimental-features = [ "nix-command" "flakes" ]; substituters = [ "https://nixcache.shelvacu.com" "https://fossar.cachix.org" ]; trusted-public-keys = [ "fossar.cachix.org-1:Zv6FuqIboeHPWQS7ysLCJ7UT7xExb4OE8c4LyGb5AsE=" "nixcache.shelvacu.com:73u5ZGBpPRoVZfgNJQKYYBt9K9Io/jPwgUfuOLsJbsM=" ]; trusted-users = [ "@wheel" ]; }; nix.gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 30d"; }; users.users.nettika = { isNormalUser = true; extraGroups = [ "wheel" "networkmanager" ]; shell = pkgs.fish; }; security.sudo.wheelNeedsPassword = false; environment.variables = { EDITOR = "nano"; }; programs.git = { enable = true; lfs.enable = true; config = { init.defaultBranch = "master"; user = { email = "git@nettika.cat"; name = "Nettika"; }; credential.helper = "store"; }; }; programs.nano = { enable = true; nanorc = '' set autoindent set linenumbers ''; }; programs.fish = { enable = true; }; environment.systemPackages = with pkgs; [ git-crypt htop jq ]; }