diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-07-28 17:11:49 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-07-28 17:11:49 -0500 |
| commit | 096769b390bb90fc451c384f85bc26d3c2744a1c (patch) | |
| tree | ce0dc04df65e98d96285c0c9761a6e34bf05f790 /hosts/office-precision/configuration.nix | |
| parent | 8692ac2970b16327103c7ccf30303461005ddc76 (diff) | |
| download | nixos-096769b390bb90fc451c384f85bc26d3c2744a1c.tar.xz nixos-096769b390bb90fc451c384f85bc26d3c2744a1c.zip | |
move hp-envy-office to office-precision
Diffstat (limited to 'hosts/office-precision/configuration.nix')
| -rw-r--r-- | hosts/office-precision/configuration.nix | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/hosts/office-precision/configuration.nix b/hosts/office-precision/configuration.nix new file mode 100644 index 0000000..5e3a463 --- /dev/null +++ b/hosts/office-precision/configuration.nix @@ -0,0 +1,69 @@ +{ config, lib, pkgs, ... }: { + imports = [ ./wg.nix ]; + + # Setup bootloader + boot._loader.enable = true; + boot.loader.timeout = 15; # Show for longer since it's usually skipped + + # Enable common options + _archetypes = { + profiles = { + desktop = { + enable = true; + home.users.timmy.enable = true; + }; + btrfs.enable = true; + }; + collections = { + desktop = { + extraUtilities.enable = true; + chromium.enable = true; + graphics.enable = true; + office.enable = true; + }; + development = { + docker.enable = true; + web = { + node.enable = true; + }; + }; + virtualization.enable = true; + }; + }; + + # Enable user timmy + _users.timmy = { + enable = true; + nas = { + enable = true; + office.enable = true; + office.automount = true; + }; + }; + + # Disable suspend + systemd._suspend.disable = true; + + # Use amdgpu driver for x11 + services.xserver.videoDrivers = [ "amdgpu" ]; + + # Configure home + home-manager.users.timmy = { + gtk._mintTheme = { + dark = true; + color = "Blue"; + icons.color = "Blue"; + }; + programs._seasonalwallpaper.wallpapers.download = true; + fonts.fontconfig = { + subpixelRendering = "rgb"; + hinting = "none"; + }; + gtk.gtk3.bookmarks = [ + "file:///home/timmy/docs/src/sites/admin Admin" + "file:///media/chexx/chexx cHEXx" + ]; + }; + + system.stateVersion = "24.11"; +} |
