refactored system
This commit is contained in:
parent
6a62e2f23f
commit
386d889455
55 changed files with 336 additions and 580 deletions
|
|
@ -1,6 +1,14 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../users/till.nix
|
||||
];
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
users.mutableUsers = true;
|
||||
time.timeZone = "Europe/Berlin";
|
||||
programs.fish.enable = true;
|
||||
|
||||
nix = {
|
||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
|
@ -9,22 +17,6 @@
|
|||
optimise.automatic = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.mutableUsers = true;
|
||||
|
||||
users.users.till = {
|
||||
isNormalUser = true;
|
||||
description = "Till";
|
||||
extraGroups = [ "wheel" ];
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
./ssh/till${"@"}nova.pub
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
dig.dnsutils
|
||||
file
|
||||
|
|
@ -32,19 +24,20 @@
|
|||
htop
|
||||
killall
|
||||
neovim
|
||||
netutils
|
||||
pwgen
|
||||
tree
|
||||
unzip
|
||||
wget
|
||||
];
|
||||
|
||||
services = {
|
||||
ntp.enable = true;
|
||||
openssh.enable = true;
|
||||
openssh.settings.PasswordAuthentication = false;
|
||||
openssh.settings.PermitRootLogin = "no";
|
||||
services.ntp.enable = true;
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.PermitRootLogin = "no";
|
||||
};
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue