nixos/roles/common.nix
Giulio De Pasquale 91ef8ff1e2 formatting
2021-11-25 11:42:32 +00:00

50 lines
739 B
Nix

{ config, pkgs, variables, lib, ... }:
{
console = {
keyMap = "us";
font = "Lat2-Terminus16";
};
i18n.defaultLocale = "en_US.UTF-8";
nix = {
autoOptimiseStore = true;
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
gc = {
automatic = true;
dates = "weekly";
persistent = true;
};
};
nixpkgs = { config = { allowUnfree = true; }; };
fonts.fonts = with pkgs; [ cascadia-code ];
environment.systemPackages = with pkgs; [
file
pciutils
bind
wget
git
curl
htop
glances
tcpdump
restic
neovim
tmux
parted
unzip
tree
smartmontools
nmap
ripgrep
];
}