forked from Drift/pvv-nixos-config
43 lines
660 B
Nix
43 lines
660 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./users
|
|
];
|
|
|
|
networking.domain = "pvv.ntnu.no";
|
|
networking.useDHCP = false;
|
|
|
|
time.timeZone = "Europe/Oslo";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "no";
|
|
};
|
|
|
|
system.autoUpgrade.enable = true;
|
|
nix.gc.automatic = true;
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
file
|
|
git
|
|
htop
|
|
nano
|
|
nvim
|
|
tmux
|
|
vim
|
|
wget
|
|
|
|
kitty.terminfo
|
|
];
|
|
|
|
users.groups."drift".name = "drift";
|
|
|
|
services.openssh.enable = true;
|
|
services.openssh.permitRootLogin = "yes";
|
|
|
|
}
|