diff options
Diffstat (limited to 'lass/2configs/rebuild-on-boot.nix')
-rw-r--r-- | lass/2configs/rebuild-on-boot.nix | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lass/2configs/rebuild-on-boot.nix b/lass/2configs/rebuild-on-boot.nix deleted file mode 100644 index 60198be7b..000000000 --- a/lass/2configs/rebuild-on-boot.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, pkgs, ... }: -with import <stockholm/lib>; -{ - systemd.services.rebuild-on-boot = { - wantedBy = [ "multi-user.target" ]; - environment = { - NIX_REMOTE = "daemon"; - HOME = "/var/empty"; - }; - serviceConfig = { - ExecStart = pkgs.writeScript "rebuild" '' - #!${pkgs.bash}/bin/bash - (/run/current-system/sw/bin/nixos-rebuild -I /var/src switch) & - ''; - ExecStop = "${pkgs.coreutils}/bin/sleep 10"; - }; - }; -} |