diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/piframe/configuration.nix | 31 |
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"; |
