diff --git a/README.md b/README.md index 05ede76..202014f 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,16 @@ ### NixOS 1. Install Nix and enable flakes -2. Switch to this flake: `nixos-rebuild switch --flake github:bates64/nixfiles` +2. Switch to this flake: `nixos-rebuild switch --flake git+ssh://git@knot.starhaven.dev/bates64.com/infra` -To switch to a specific machine, e.g. merlow, use `github:bates64/nixfiles#merlow` as the flake URI. +To switch to a specific machine, e.g. merlow, use `git+ssh://git@knot.starhaven.dev/bates64.com/infra#merlow` as the flake URI. ### home-manager 1. Install Nix and enable flakes 2. Install home-manager: `nix run home-manager/master -- init --switch` 3. Restart shell -4. Switch to this flake: `nix run home-manager/master -- switch --flake github:bates64/nixfiles` +4. Switch to this flake: `nix run home-manager/master -- switch --flake git+ssh://git@knot.starhaven.dev/bates64.com/infra` ## Networking diff --git a/modules/home/auto-upgrade.nix b/modules/home/auto-upgrade.nix index 074b4d2..e900aa9 100644 --- a/modules/home/auto-upgrade.nix +++ b/modules/home/auto-upgrade.nix @@ -19,7 +19,7 @@ # --impure and NIXPKGS_ALLOW_UNFRAME=1 are required due to nixGL; see https://github.com/nix-community/nixGL/issues/90 Service.ExecStart = toString ( pkgs.writeShellScript "home-manager-auto-upgrade" '' - PATH=$PATH:${pkgs.nix}/bin NIXPKGS_ALLOW_UNFREE=1 ${pkgs.home-manager}/bin/home-manager switch --flake git+ssh://bates64@watt/home/bates64/infra --impure + PATH=$PATH:${pkgs.nix}/bin NIXPKGS_ALLOW_UNFREE=1 ${pkgs.home-manager}/bin/home-manager switch --flake git+ssh://git@knot.starhaven.dev/bates64.com/infra --impure '' ); }; diff --git a/modules/system/auto-upgrade.nix b/modules/system/auto-upgrade.nix index ebe8e79..3eb0ae7 100644 --- a/modules/system/auto-upgrade.nix +++ b/modules/system/auto-upgrade.nix @@ -1,7 +1,7 @@ { system.autoUpgrade = { enable = true; - flake = "git+ssh://bates64@watt/home/bates64/infra"; + flake = "git+ssh://git@knot.starhaven.dev/bates64.com/infra"; flags = [ "-L" # print build logs ];