fruitbasket/hosts/sanddorn/configuration.nix

47 lines
793 B
Nix
Raw Normal View History

2022-04-10 13:59:39 +02:00
{ config, lib, pkgs, ... }:
{
boot = {
loader = {
grub.enable = false;
raspberryPi = {
enable = true;
version = 3;
uboot.enable = true;
};
};
kernelPackages = pkgs.linuxPackages_latest;
# No ZFS on latest kernel:
tmpOnTmpfs = true;
};
2022-04-19 16:39:09 +02:00
nix = {
autoOptimiseStore = true;
};
2022-04-10 13:59:39 +02:00
networking = {
hostName = "sanddorn";
useDHCP = false;
interfaces.eth0.useDHCP = true;
interfaces.wlan0.useDHCP = true;
firewall.enable = false;
};
2022-04-19 16:39:09 +02:00
programs.tmux.enable = true;
2022-04-10 13:59:39 +02:00
# Do not log to flash:
services.journald.extraConfig = ''
Storage=volatile
'';
security.sudo = {
enable = true;
wheelNeedsPassword = false;
};
2022-04-19 16:39:09 +02:00
documentation.enable = false;
system.stateVersion = "21.05";
2022-04-10 13:59:39 +02:00
}