From d3643a962b42440f706c9171a2644c41fcd2be8e Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 30 Aug 2025 12:55:23 -0500 Subject: only allow specified unfree software on hosts that use unfree and update all active hosts to work with new config --- hosts/T495/configuration.nix | 47 +++++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 16 deletions(-) (limited to 'hosts/T495/configuration.nix') diff --git a/hosts/T495/configuration.nix b/hosts/T495/configuration.nix index 171f746..b636991 100644 --- a/hosts/T495/configuration.nix +++ b/hosts/T495/configuration.nix @@ -1,9 +1,5 @@ { config, lib, pkgs, ... }: { - imports = [ - ./hardware-configuration.nix - ./wg.nix - ../../nixos/archetypes/tjkeller - ]; + imports = [ ./wg.nix ]; # Setup bootloader boot._loader.enable = true; @@ -37,22 +33,22 @@ }; bluetooth.enable = true; }; - # Setup user - users.primary = { + }; + + # Enable user timmy + _users.timmy = { + enable = true; + autologin.enable = true; + nas = { enable = true; - autologin.enable = true; - }; - # Enable network drives - tjkeller = { - nas = { - enable = true; - office.enable = true; - }; + office.enable = true; }; }; # Install spotify - nixpkgs.config.allowUnfree = true; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "spotify" + ]; environment.systemPackages = with pkgs; [ spotify ]; @@ -60,5 +56,24 @@ # Use amdgpu driver for x11 services.xserver.videoDrivers = [ "amdgpu" ]; + # Configure home + home-manager.users.timmy = { + gtk._mintTheme = { + dark = true; + color = "Purple"; + icons.color = "Purple"; + }; + programs._st = { + enable = true; + font = { + name = "TamzenForPowerline"; + attrs = { + pixelsize = 20; + }; + }; + }; + programs._seasonalwallpaper.wallpapers.download = true; + }; + system.stateVersion = "24.05"; } -- cgit v1.2.3