refac: remove unused script

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-09 15:04:03 +03:00
parent 8d29c548ba
commit dcdb9ec936
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -53,20 +53,13 @@
{
apps = lib.mapAttrs
(name: program: { type = "app"; program = toString program; })
(
(flake-utils.lib.flattenTree {
switch = lib.recurseIntoAttrs (lib.mapAttrs
(hostname: machine: pkgs.writeShellScript "switch-${hostname}" ''
${nixos-rebuild}/bin/nixos-rebuild switch --flake .#${hostname}
'')
self.nixosConfigurations);
})
// {
fix-systemd = pkgs.writeShellScript "fix-systemd" ''
systemctl --user reset-failed
'';
}
);
(flake-utils.lib.flattenTree {
switch = lib.recurseIntoAttrs (lib.mapAttrs
(hostname: machine: pkgs.writeShellScript "switch-${hostname}" ''
${nixos-rebuild}/bin/nixos-rebuild switch --flake .#${hostname}
'')
self.nixosConfigurations);
});
devShells = {
default = pkgs.mkShell {