Rebuilt nix files
This commit is contained in:
+291
-292
File diff suppressed because it is too large
Load Diff
@@ -1460,7 +1460,7 @@ The configuration is done in the home manager section.
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
|
||||
scriptExists = lib.fileExists scriptPath;
|
||||
scriptExists = lib.systems.lib.fileExists scriptPath;
|
||||
in
|
||||
{
|
||||
systemd.user.services.endScript = lib.mkIf scriptExists {
|
||||
@@ -1473,7 +1473,6 @@ in
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
#+end_src
|
||||
|
||||
** Services
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
|
||||
scriptExists = lib.fileExists scriptPath;
|
||||
scriptExists = lib.systems.lib.fileExists scriptPath;
|
||||
in
|
||||
{
|
||||
systemd.user.services.endScript = lib.mkIf scriptExists {
|
||||
|
||||
Reference in New Issue
Block a user