First commit

This commit is contained in:
2026-02-22 17:28:02 +01:00
parent 7a70268785
commit 6bacf1878e
9011 changed files with 114470 additions and 0 deletions
@@ -0,0 +1,37 @@
{ pkgs, ... }:
let
moduleName = "hm-hyprshell";
in
{
# Make sure XDG base dirs are used (so xdg.configFile writes into ~/.config)
xdg.enable = true;
# Hyprshell config files
xdg.configFile."hyprshell/config.ron".source = ./conf/hyprshell/config.ron;
xdg.configFile."hyprshell/styles.css".source = ./conf/hyprshell/styles.css;
# Install hyprshell
home.packages = [ pkgs.hyprshell ];
# Run hyprshell as a user service when your graphical session starts
systemd.user.services.hyprshell = {
Unit = {
Description = "Hyprshell";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.hyprshell}/bin/hyprshell run";
Restart = "on-failure";
RestartSec = 1;
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
home.file.".nixlog/loaded.${moduleName}-module-loaded".text = "loaded\n";
}