moved script

This commit is contained in:
John Lancaster
2024-12-08 13:24:09 -06:00
parent ee521c87eb
commit 5233efa8ba
2 changed files with 11 additions and 5 deletions

View File

@@ -20,5 +20,11 @@ in
homeDirectory = "${homePath}";
};
packages = [
(pkgs.writeShellScriptBin "nfs" ''
sudo nixos-rebuild switch --flake git+file://${homePath}#${hostname}
'')
];
systemd.user.startServices = "sd-switch";
}