Benjamin Bädorf
d37aaa2622
All checks were successful
continuous-integration/drone/push Build is passing
110 lines
2.1 KiB
Nix
110 lines
2.1 KiB
Nix
{
|
|
self,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}: let
|
|
inherit (lib) fileContents;
|
|
in {
|
|
# Sets nrdxp.cachix.org binary cache which just speeds up some builds
|
|
imports = [../cachix];
|
|
|
|
config = {
|
|
pub-solar.terminal-life.enable = true;
|
|
pub-solar.audio.enable = true;
|
|
pub-solar.crypto.enable = true;
|
|
pub-solar.devops.enable = true;
|
|
|
|
# This is just a representation of the nix default
|
|
nix.systemFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
|
|
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
# Core unix utility packages
|
|
coreutils-full
|
|
progress
|
|
dnsutils
|
|
inetutils
|
|
mtr
|
|
pciutils
|
|
usbutils
|
|
gitFull
|
|
git-lfs
|
|
git-bug
|
|
wget
|
|
openssl
|
|
openssh
|
|
curl
|
|
htop
|
|
lsof
|
|
psmisc
|
|
xdg-utils
|
|
sysfsutils
|
|
renameutils
|
|
nfs-utils
|
|
moreutils
|
|
mailutils
|
|
keyutils
|
|
input-utils
|
|
elfutils
|
|
binutils
|
|
dateutils
|
|
diffutils
|
|
findutils
|
|
exfat
|
|
file
|
|
|
|
# zippit
|
|
zip
|
|
unzip
|
|
|
|
# Modern modern utilities
|
|
p7zip
|
|
croc
|
|
jq
|
|
|
|
# Nix specific utilities
|
|
niv
|
|
manix
|
|
nix-index
|
|
nix-tree
|
|
nixpkgs-review
|
|
# Build broken, python2.7-PyJWT-2.0.1.drv' failed
|
|
#nixops
|
|
psos
|
|
nvd
|
|
|
|
# Fun
|
|
neofetch
|
|
];
|
|
};
|
|
|
|
fonts = {
|
|
fonts = with pkgs; [powerline-fonts dejavu_fonts];
|
|
|
|
fontconfig.defaultFonts = {
|
|
monospace = ["DejaVu Sans Mono for Powerline"];
|
|
|
|
sansSerif = ["DejaVu Sans"];
|
|
};
|
|
};
|
|
|
|
# For rage encryption, all hosts need a ssh key pair
|
|
services.openssh = {
|
|
enable = true;
|
|
openFirewall = lib.mkDefault true;
|
|
passwordAuthentication = false;
|
|
};
|
|
|
|
# Service that makes Out of Memory Killer more effective
|
|
services.earlyoom.enable = true;
|
|
|
|
# Use latest LTS linux kernel by default
|
|
boot.kernelPackages = pkgs.linuxPackages_5_15;
|
|
|
|
boot.supportedFilesystems = ["ntfs"];
|
|
};
|
|
}
|