1
0
Fork 0
pvv-nixos-config/base/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.0 KiB
Nix
Raw Normal View History

{ pkgs, lib, fp, ... }:
2024-08-31 22:23:09 +02:00
{
imports = [
(fp /users)
(fp /modules/snakeoil-certs.nix)
2024-08-31 22:23:09 +02:00
./networking.nix
./nix.nix
./services/acme.nix
./services/auto-upgrade.nix
2024-09-01 01:39:35 +02:00
./services/irqbalance.nix
2024-08-31 22:23:09 +02:00
./services/logrotate.nix
./services/nginx.nix
./services/openssh.nix
2024-09-01 02:54:39 +02:00
./services/postfix.nix
2024-09-01 01:22:56 +02:00
./services/smartd.nix
2024-08-31 22:23:09 +02:00
./services/thermald.nix
];
boot.tmp.cleanOnBoot = lib.mkDefault true;
2024-08-31 22:23:09 +02:00
time.timeZone = "Europe/Oslo";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "no";
};
environment.systemPackages = with pkgs; [
file
git
gnupg
htop
nano
ripgrep
rsync
screen
tmux
vim
wget
kitty.terminfo
];
programs.zsh.enable = true;
2024-09-01 03:17:15 +02:00
security.sudo.execWheelOnly = true;
security.sudo.extraConfig = ''
Defaults lecture = never
'';
2024-08-31 22:23:09 +02:00
users.groups."drift".name = "drift";
# Trusted users on the nix builder machines
users.groups."nix-builder-users".name = "nix-builder-users";
}