continuous reorg

This commit is contained in:
John Lancaster
2024-12-08 16:03:45 -06:00
parent 9334d2cc7f
commit 343c6a89db
2 changed files with 39 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, userSettings, systemSettings, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -10,7 +10,7 @@
git
eza
];
# For SSH access
services.openssh.enable = true;
@@ -23,4 +23,13 @@
execWheelOnly = false;
wheelNeedsPassword = false; # allows sudo without password for those in the wheel group
};
users.users.${userSettings.username} = {
isNormalUser = true;
uid = 1000;
extraGroups = [ "wheel" "networkmanager" ];
openssh.authorizedKeys.keyFiles = [ /root/.ssh/authorized_keys ];
};
time.timeZone = "${systemSettings.timeZone}";
}