Rename some scopes, set most defaults to false and require hosts to want them instead of needing to opt out of them

This commit is contained in:
TheWanderingCrow 2024-10-05 11:26:59 -04:00
parent 18b3a6c64b
commit 99b5ace0a3
9 changed files with 57 additions and 63 deletions

View file

@ -1,5 +1,5 @@
{ pkgs, lib, config, ...}: {
config.users.users.crow = lib.mkIf config.users.crow.enable {
config.users.users.crow = lib.mkIf config.user.crow.enable {
isNormalUser = true;
initialPassword = "changeme";
extraGroups = [ "wheel" "networkmanager" "audio" ];
@ -21,5 +21,5 @@
script = "cd /home/crow/Notes\ngit pull\ngit add .\ngit diff-index --quiet HEAD || git commit -am 'automatic backup'\ngit push";
};
config.home-manager.users.crow = lib.mkIf config.users.crow.home.enable ./home.nix;
config.home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;
}

View file

@ -1,5 +1,5 @@
{ lib, config, ...}: {
config.users.users.overseer = lib.mkIf config.users.overseer.enable {
config.users.users.overseer = lib.mkIf config.user.overseer.enable {
isNormalUser = true;
initialPassword = "changeme";
extraGroups = [ "wheel" "libvirtd" ];