Files
nixos-config/modules/home/environment/userservices.nix
pagedmov 2431e4361b Adapted hyprland configurations for new breaking changes, and some misc adjustments
adjusted hyprland config for new breaking changes

capitalized 'Description' keys in userservices

altered shell aliases and added missing autosuggest option in zsh/options.nix

rebuild now has dry run flags

added hyprpaper to packages.nix

updated check_updates service to check the upstream nixpkgs channel instead of my local flake pkgs
2024-11-15 12:13:10 -05:00

41 lines
1.0 KiB
Nix

{ pkgs, self, ... }:
{
systemd.user = {
timers = {
maintenanceCheck = {
Unit = { Description = "Timer for package maintenance check"; };
Timer = {
OnCalendar = "hourly";
Persistent = true;
};
Install = { WantedBy = [ "timers.target" ]; };
};
};
services = {
loginSound = {
Unit= {
Description = "Plays a sound on login";
After = [ "graphical-session.target" ];
WantedBy = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.alsa-utils}/bin/aplay -qN ${self}/assets/sound/login.wav";
Type = "simple";
};
};
maintenanceCheck = {
Unit = {
Description = "Check for updates in my maintained packages";
};
Service = {
ExecStart = "${pkgs.nix}/bin/nix-shell -p python3Packages.requests --run '${pkgs.python311}/bin/python ${pkgs.myPkgs.check_updates}/bin/checkupdates.py'";
Type = "simple";
};
};
};
};
}