You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
519 B
Nix
26 lines
519 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.ashe.system;
|
|
in {
|
|
networking.hostName = cfg.hostname;
|
|
time.timeZone = cfg.timezone;
|
|
i18n.defaultLocale = cfg.locale;
|
|
services.xserver.enable = cfg.x11;
|
|
users.defaultUserShell = cfg.shell;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
neovim
|
|
git
|
|
vim
|
|
wget
|
|
]
|
|
++ lib.optionals (config.ashe.network.tailscale.enable) [ tailscale ];
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
passwordAuthentication = true;
|
|
permitRootLogin = "no";
|
|
};
|
|
}
|