diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2025-08-30 12:31:28 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2025-08-30 12:31:28 -0500 |
commit | 9da942ba47d34210e86a1a709e802eda5c3b95db (patch) | |
tree | f7434c4b4c9b8e5271220c11f9b802815c3519c7 /hosts/optiplex/configuration.nix | |
parent | c3c3d6f1fd19a5da015c9a9d3ae5c54f2d177be0 (diff) | |
download | nixos-9da942ba47d34210e86a1a709e802eda5c3b95db.tar.xz nixos-9da942ba47d34210e86a1a709e802eda5c3b95db.zip |
refactor users activation. refactor home manager config to match nixos conf and move tjkeller archetypes to users/timmy. update many of the exising home manager configs to be nicer and better organized. profile archetypes now include homeconfigs which can be enabled per user, and are setup using a new mkProfileArchetype function.
Diffstat (limited to 'hosts/optiplex/configuration.nix')
-rw-r--r-- | hosts/optiplex/configuration.nix | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/hosts/optiplex/configuration.nix b/hosts/optiplex/configuration.nix index 8a06294..b92b580 100644 --- a/hosts/optiplex/configuration.nix +++ b/hosts/optiplex/configuration.nix @@ -1,16 +1,14 @@ -{ config, lib, pkgs, ... }: { - imports = [ - ./hardware-configuration.nix - ../../archetypes/tjkeller - ]; - +{ config, lib, pkgs, home-manager, ... }: { # Setup bootloader boot._loader.enable = true; # Enable common options _archetypes = { # Use desktop profile - profiles.desktop.enable = true; + profiles.desktop = { + enable = true; + home.users.timmy.enable = true; + }; # Install software collections = { desktop = { @@ -35,14 +33,13 @@ }; }; }; - # Setup user - users.primary = { - enable = true; - autologin.enable = true; - }; - tjkeller = { - nas.enable = true; - }; + }; + + # Enable user timmy + _users.timmy = { + enable = true; + autologin.enable = true; + nas.enable = true; }; # Disable suspend @@ -69,5 +66,15 @@ forceFullCompositionPipeline = true; # Enables vsync }; + # Configure home + home-manager.users.timmy = { + gtk._mintTheme = { + dark = true; + color = "Green"; + icons.color = "Green"; + }; + programs._seasonalwallpaper.wallpapers.download = true; + }; + system.stateVersion = "24.11"; } |