completely refactor and modularize flake

This commit is contained in:
willifan 2024-12-26 23:10:52 +01:00
parent 3b1ed7e281
commit b7210fcf8e
141 changed files with 884 additions and 2605 deletions

View file

@ -0,0 +1,11 @@
{ lib, config, pkgs, ... }:
{
home-manager.users.willifan = {
home.packages = lib.mkIf config.desktop.hyprexit.enable [
(pkgs.writeShellScriptBin "hyprexit" ''
${pkgs.hyprland}/bin/hyprctl dispatch exit
${pkgs.systemd}/bin/loginctl terminate-user willifan
'')
];
};
}