diff --git a/flake.nix b/flake.nix index 4558532..f7974e5 100644 --- a/flake.nix +++ b/flake.nix @@ -38,11 +38,11 @@ nixpkgs.hostPlatform = "${system}"; system.stateVersion = "${stateVersion}"; time.timeZone = "${timeZone}"; - environment.systemPackages = [ - (pkgs.writeShellScriptBin "nfs" '' - sudo nixos-rebuild switch --flake git+file:///etc/nixos#${hostname} - '') - ]; + # environment.systemPackages = [ + # (pkgs.writeShellScriptBin "nfs" '' + # sudo nixos-rebuild switch --flake git+file:///etc/nixos#${hostname} + # '') + # ]; }) ]; }; diff --git a/homeManagerModules/home.nix b/homeManagerModules/home.nix index e73cc83..4c4eadb 100644 --- a/homeManagerModules/home.nix +++ b/homeManagerModules/home.nix @@ -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"; } \ No newline at end of file