user changes and more time machine config

This commit is contained in:
mjallen18
2024-02-21 15:45:12 -06:00
parent 02160ac957
commit a3bb5fe3de
2 changed files with 29 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
{ config, lib, pkgs, ... }:
let
user = "admin";
password = "$y$j9T$EkPXmsmIMFFZ.WRrBYCxS1$P0kwo6e4.WM5DsqUcEqWC3MrZp5KfCjxffraMFZWu06";
password = "\$y\$j9T\$EkPXmsmIMFFZ\.WRrBYCxS1\$P0kwo6e4\.WM5DsqUcEqWC3MrZp5KfCjxffraMFZWu06";
hostname = "jallen-nas";
timezone = "America/Chicago";
in
@@ -263,7 +263,7 @@ in
# Admin account
users."${user}" = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "docker" "podman" "libvirtd" ]; # Enable sudo for the user.
extraGroups = [ "wheel" "networkmanager" "docker" "podman" "libvirtd" "nas-apps" "jallen-nas" ]; # Enable sudo for the user.
initialHashedPassword = password;
shell = pkgs.fish;
packages = with pkgs; [
@@ -285,7 +285,7 @@ in
isSystemUser = true;
uid = 911;
group = "jallen-nas";
extraGroups = [ "wheel" "docker" "podman" "libvirt" ]; # Enable sudo for the user.
extraGroups = [ "jallen-nas" ]; # Enable sudo for the user.
initialHashedPassword = password;
};
};