refac: remove unused script
This commit is contained in:
parent
8d29c548ba
commit
dcdb9ec936
1 changed files with 7 additions and 14 deletions
|
@ -53,20 +53,13 @@
|
||||||
{
|
{
|
||||||
apps = lib.mapAttrs
|
apps = lib.mapAttrs
|
||||||
(name: program: { type = "app"; program = toString program; })
|
(name: program: { type = "app"; program = toString program; })
|
||||||
(
|
|
||||||
(flake-utils.lib.flattenTree {
|
(flake-utils.lib.flattenTree {
|
||||||
switch = lib.recurseIntoAttrs (lib.mapAttrs
|
switch = lib.recurseIntoAttrs (lib.mapAttrs
|
||||||
(hostname: machine: pkgs.writeShellScript "switch-${hostname}" ''
|
(hostname: machine: pkgs.writeShellScript "switch-${hostname}" ''
|
||||||
${nixos-rebuild}/bin/nixos-rebuild switch --flake .#${hostname}
|
${nixos-rebuild}/bin/nixos-rebuild switch --flake .#${hostname}
|
||||||
'')
|
'')
|
||||||
self.nixosConfigurations);
|
self.nixosConfigurations);
|
||||||
})
|
});
|
||||||
// {
|
|
||||||
fix-systemd = pkgs.writeShellScript "fix-systemd" ''
|
|
||||||
systemctl --user reset-failed
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
devShells = {
|
devShells = {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
|
|
Loading…
Reference in a new issue