summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-08-30 13:00:16 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-08-30 13:00:16 -0500
commit5e1b6bfd95f690a83b0fef454bcaff09ca570c2c (patch)
treeee36eebbc650e87d829f8019b6b709dc02bbef3d /hosts
parentd3643a962b42440f706c9171a2644c41fcd2be8e (diff)
downloadnixos-5e1b6bfd95f690a83b0fef454bcaff09ca570c2c.tar.xz
nixos-5e1b6bfd95f690a83b0fef454bcaff09ca570c2c.zip
use new configs for envy office and automount hoome nas optiplex
Diffstat (limited to 'hosts')
-rw-r--r--hosts/hp-envy-office/configuration.nix39
-rw-r--r--hosts/hp-envy-office/home.nix12
-rw-r--r--hosts/optiplex/configuration.nix6
3 files changed, 29 insertions, 28 deletions
diff --git a/hosts/hp-envy-office/configuration.nix b/hosts/hp-envy-office/configuration.nix
index 60be56d..340eda3 100644
--- a/hosts/hp-envy-office/configuration.nix
+++ b/hosts/hp-envy-office/configuration.nix
@@ -1,9 +1,4 @@
{ config, lib, pkgs, ... }: {
- imports = [
- ./hardware-configuration.nix
- ../../nixos/archetypes/tjkeller
- ];
-
# Setup bootloader
boot._loader.enable = true;
boot.loader.timeout = 15; # Show for longer since it's usually skipped
@@ -27,18 +22,17 @@
};
};
virtualization.enable = true;
- bluetooth.enable = true;
};
- # Setup user
- users.primary = {
+ };
+
+ # Enable user timmy
+ _users.timmy = {
+ enable = true;
+ autologin.enable = true;
+ nas = {
enable = true;
- };
- tjkeller = {
- nas = {
- enable = true;
- office.enable = true;
- office.automount = true;
- };
+ office.enable = true;
+ office.automount = true;
};
};
@@ -48,5 +42,20 @@
# Use amdgpu driver for x11
services.xserver.videoDrivers = [ "amdgpu" ];
+ # Configure home
+ home-manager.users.timmy = {
+ gtk._mintTheme = {
+ dark = true;
+ color = "Green";
+ icons.color = "Green";
+ };
+ programs._seasonalwallpaper.wallpapers.download = true;
+
+ gtk.gtk3.bookmarks = [
+ "file:///home/timmy/docs/src/sites/admin Admin"
+ "file:///media/chexx/chexx cHEXx"
+ ];
+ };
+
system.stateVersion = "24.11";
}
diff --git a/hosts/hp-envy-office/home.nix b/hosts/hp-envy-office/home.nix
deleted file mode 100644
index 2e4f61f..0000000
--- a/hosts/hp-envy-office/home.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ userDetails, ... }: {
- imports = [ ../../home ];
-
- theme.mint.theme.color = "Dark-Green";
- theme.mint.icons.color = "Green";
- wallpapers.enable = true;
-
- additional-gtk-bookmarks = with userDetails.userDirs; [
- "file://${documents}/src/sites/admin Admin"
- "file:///media/chexx/chexx cHEXx"
- ];
-}
diff --git a/hosts/optiplex/configuration.nix b/hosts/optiplex/configuration.nix
index 6f7d4d4..c6483d1 100644
--- a/hosts/optiplex/configuration.nix
+++ b/hosts/optiplex/configuration.nix
@@ -39,7 +39,11 @@
_users.timmy = {
enable = true;
autologin.enable = true;
- nas.enable = true;
+ nas = {
+ enable = true;
+ home.enable = true;
+ home.automount = true;
+ };
};
# Disable suspend