Recreated nix files
This commit is contained in:
+311
-310
File diff suppressed because it is too large
Load Diff
+12
-11
@@ -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
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user