summaryrefslogtreecommitdiff
path: root/hosts/T495/configuration.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-08-30 12:55:23 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-08-30 12:55:23 -0500
commitd3643a962b42440f706c9171a2644c41fcd2be8e (patch)
tree7dc276763b5cfcd9510b26dfa63f242110305887 /hosts/T495/configuration.nix
parent9da942ba47d34210e86a1a709e802eda5c3b95db (diff)
downloadnixos-d3643a962b42440f706c9171a2644c41fcd2be8e.tar.xz
nixos-d3643a962b42440f706c9171a2644c41fcd2be8e.zip
only allow specified unfree software on hosts that use unfree and update all active hosts to work with new config
Diffstat (limited to 'hosts/T495/configuration.nix')
-rw-r--r--hosts/T495/configuration.nix47
1 files changed, 31 insertions, 16 deletions
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";
}