summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-12-15 21:42:24 -0600
committerTim Keller <tjk@tjkeller.xyz>2025-12-15 21:43:05 -0600
commit40ab982415e27d060ad3a7939e0a749caa9973c0 (patch)
tree7d5ca413f028ba3317ebc520236f9fb75ba82eac /hosts
parentc88223b386dfa4533934632f9de3ab1810c6c078 (diff)
parent65f939b195d7af3fd3be0dee86eec53f712f44f3 (diff)
downloadnixos-40ab982415e27d060ad3a7939e0a749caa9973c0.tar.xz
nixos-40ab982415e27d060ad3a7939e0a749caa9973c0.zip
Merge upstream changes
Diffstat (limited to 'hosts')
-rw-r--r--hosts/piframe/configuration.nix31
1 files changed, 22 insertions, 9 deletions
diff --git a/hosts/piframe/configuration.nix b/hosts/piframe/configuration.nix
index 1572512..dc9fc4f 100644
--- a/hosts/piframe/configuration.nix
+++ b/hosts/piframe/configuration.nix
@@ -4,12 +4,25 @@
# Enables the generation of /boot/extlinux/extlinux.conf
boot.loader.generic-extlinux-compatible.enable = true;
- # xserver
- services.xserver = {
- enable = true;
- enableTearFree = true;
+ _archetypes = {
+ # Use headless profile
+ profiles.headless = {
+ enable = true;
+ home.users.timmy.enable = true;
+ };
+ collections = {
+ desktop.xserver.enable = true;
+ };
};
+ # Enable geoclue for redshift
+ services._geoclue2.enable = true;
+
+ # Install immich-frame
+ environment.systemPackages = with pkgs; [
+ immich-frame
+ ];
+
# Enable user timmy
_users.timmy = {
enable = true;
@@ -19,15 +32,15 @@
# Configure home
home-manager.users.timmy = {
+ services._redshift.enable = true;
home.file.".xinitrc" = {
text = ''
#!/bin/sh
- exec pix.py
- ''
+ redshift &
+ unclutter &
+ exec immich-frame
+ '';
};
- programs.zsh.profileExtra = ''
- startx
- '';
};
system.stateVersion = "25.11";