65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
let inherit (lib) fileContents;
|
|
in
|
|
{
|
|
nix.package = pkgs.nixFlakes;
|
|
|
|
nix.systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
binutils
|
|
coreutils
|
|
curl
|
|
deploy-rs
|
|
direnv
|
|
dnsutils
|
|
dosfstools
|
|
fd
|
|
fzf
|
|
git
|
|
bat
|
|
neovim
|
|
gotop
|
|
gptfdisk
|
|
iputils
|
|
jq
|
|
manix
|
|
moreutils
|
|
nix-index
|
|
tmux
|
|
nmap
|
|
ripgrep
|
|
whois
|
|
];
|
|
};
|
|
|
|
fonts = {
|
|
fonts = with pkgs; [ powerline-fonts dejavu_fonts ];
|
|
fontconfig.defaultFonts = {
|
|
monospace = [ "DejaVu Sans Mono for Powerline" ];
|
|
sansSerif = [ "DejaVu Sans" ];
|
|
};
|
|
};
|
|
|
|
nix = {
|
|
autoOptimiseStore = true;
|
|
gc.automatic = true;
|
|
optimise.automatic = true;
|
|
useSandbox = true;
|
|
allowedUsers = [ "@wheel" ];
|
|
trustedUsers = [ "root" "@wheel" ];
|
|
extraOptions = ''
|
|
keep-outputs = true
|
|
keep-derivations = true
|
|
fallback = true
|
|
'';
|
|
|
|
};
|
|
|
|
time.timeZone = "Europe/Warsaw";
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
services.earlyoom.enable = true;
|
|
users.mutableUsers = false;
|
|
}
|