Serenity/home/scripts/startup.nix
2025-03-15 20:26:46 +10:00

24 lines
388 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
nicotine-plus
'';
in { home.packages = [ startup startupExtra ]; }