summaryrefslogtreecommitdiff
path: root/hosts/libreX60/configuration.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-09-01 10:06:44 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-09-01 10:06:44 -0500
commit313aa03cc7c68ed80f7ce74ff85c1b25539265d3 (patch)
treeaf9107b1e150f5318cb1af1aa246c992881b4bd5 /hosts/libreX60/configuration.nix
parent3d3fb6110b8287a4c5359546908ea1f3276d9fb6 (diff)
downloadnixos-313aa03cc7c68ed80f7ce74ff85c1b25539265d3.tar.xz
nixos-313aa03cc7c68ed80f7ce74ff85c1b25539265d3.zip
add desktop profile to libreX60 and configure user desktop profile for other desktop hosts
Diffstat (limited to 'hosts/libreX60/configuration.nix')
-rw-r--r--hosts/libreX60/configuration.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/libreX60/configuration.nix b/hosts/libreX60/configuration.nix
index 4f20501..2ebb333 100644
--- a/hosts/libreX60/configuration.nix
+++ b/hosts/libreX60/configuration.nix
@@ -16,6 +16,22 @@
# Use libre kernel
boot.kernelPackages = pkgs.linuxPackages-libre;
+ # Enable common options
+ _archetypes = {
+ # Use desktop profile
+ profiles.desktop = {
+ enable = true;
+ home.users.timmy.enable = true;
+ };
+ };
+
+ # Enable user timmy
+ _users.timmy = {
+ enable = true;
+ autologin.enable = true;
+ wifi.enable = true;
+ };
+
# i915 Gpu requires intel driver
services.xserver.videoDrivers = [ "intel" ];