Added nixos configs

This commit is contained in:
2026-02-22 19:25:39 +01:00
parent c0f19a200d
commit 8694deed28
9013 changed files with 118058 additions and 0 deletions
@@ -0,0 +1,39 @@
{ config, lib, pkgs, ... }:
let
moduleName = "hm-hyprshell";
# Absolute path in your home repo (string is fine here, but we must convert properly)
repoDir = "${config.home.homeDirectory}/nixos/files/conf/hyprshell";
in
{
xdg.enable = true;
# Symlink the whole directory into ~/.config/hyprshell
xdg.configFile."hyprshell" = {
source = config.lib.file.mkOutOfStoreSymlink repoDir;
recursive = true;
};
home.packages = [ pkgs.hyprshell ];
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";
}