Serenity/home/scripts/startup.nix
2025-06-01 14:30:48 +10:00

22 lines
369 B
Nix
Executable file

{ pkgs, wallpaper, ... }:
let
startup = pkgs.writeShellScriptBin "startup" ''
systemctl --user start sops-nix
systemctl --user start hyprpolkitagent
swww init & sleep 0.1
swww img ${wallpaper}
'';
startupExtra = pkgs.writeShellScriptBin "startupExtra" ''
otd-gui
easyeffects
'';
in { home.packages = [ startup startupExtra ]; }