Recreated nix files

This commit is contained in:
2026-03-03 11:20:07 +01:00
parent ef2b634730
commit 1b1f2100c1
3 changed files with 335 additions and 332 deletions
+311 -310
View File
File diff suppressed because it is too large Load Diff
+12 -11
View File
@@ -712,17 +712,18 @@ We also add a devshell that makes editing this repository easier in emacs.
<<flake-home-module>> <<flake-home-module>>
catppuccin.nixosModules.catppuccin # theme catppuccin.nixosModules.catppuccin # theme
({ lib, config, pkgs, ... }: { # end_script as a systemd service
systemd.user.services.endScript = lib.mkIf (lib.fileExists ./assets/scripts/end_script.sh) { ({ lib, config, pkgs, ... }: {
description = "Run end script after Home Manager"; systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
wantedBy = [ "multi-user.target" ]; description = "Run end script after Home Manager";
after = [ "home-manager-activate.service" ]; wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "oneshot"; after = [ "home-manager-activate.service" ];
script = '' serviceConfig.Type = "oneshot";
${./assets/scripts/end_script.sh} script = ''
''; ${./assets/scripts/end_script.sh}
}; '';
}) };
})
]; ];
specialArgs = { specialArgs = {
+12 -11
View File
@@ -76,17 +76,18 @@ in
catppuccin.nixosModules.catppuccin # theme catppuccin.nixosModules.catppuccin # theme
({ lib, config, pkgs, ... }: { # end_script as a systemd service
systemd.user.services.endScript = lib.mkIf (lib.fileExists ./assets/scripts/end_script.sh) { ({ lib, config, pkgs, ... }: {
description = "Run end script after Home Manager"; systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
wantedBy = [ "multi-user.target" ]; description = "Run end script after Home Manager";
after = [ "home-manager-activate.service" ]; wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "oneshot"; after = [ "home-manager-activate.service" ];
script = '' serviceConfig.Type = "oneshot";
${./assets/scripts/end_script.sh} script = ''
''; ${./assets/scripts/end_script.sh}
}; '';
}) };
})
]; ];
specialArgs = { specialArgs = {