Skip to content

Commit

Permalink
Migrate references to former github username
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 8, 2023
1 parent 4b34550 commit 36d5242
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Features

* Automation scripts to setup a fresh [NixOS machine from scratch](flake/apps/nixos-install.sh) or
* Automation scripts to setup a fresh [NixOS machine from scratch](flake/appsrnixos-install.sh) or
an [arbitrary preinstalled Linux machine](flake/apps/setup.sh) easily
* Secret management in [NixOS][nixos] ([agenix][agenix]) and [Home Manager][home-manager]
([homeage][homeage]) with [age][age]
Expand Down Expand Up @@ -92,7 +92,7 @@ this flake to the inputs and define your hosts and users in the `flake.nix`:
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
nixcfg.url = "github:christianharke/nixcfg";
nixcfg.url = "github:rake5k/nixcfg";
};
outputs = { nixpkgs, nixcfg, ... } @ inputs:
Expand Down Expand Up @@ -130,7 +130,7 @@ sudo su # become root
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf

nix run github:christianharke/nixcfg#nixos-install -- <hostname> <disk>
nix run github:rake5k/nixcfg#nixos-install -- <hostname> <disk>
```

Where:
Expand All @@ -151,7 +151,7 @@ After rebooting proceed with the [next section](#nixos-config-setup).
#### NixOS config setup

```bash
$ sudo nix run github:christianharke/nixcfg#setup
$ sudo nix run github:rake5k/nixcfg#setup
```

### Non-NixOS
Expand All @@ -170,7 +170,7 @@ sh <(curl -L https://nixos.org/nix/install) --no-channel-add --no-modify-profile

```bash
# Set up this Nix configuration
nix run github:christianharke/nixcfg#setup
nix run github:rake5k/nixcfg#setup

# set login shell
chsh -s /bin/zsh
Expand Down Expand Up @@ -230,10 +230,10 @@ $ # On non-NixOS
$ hm-switch
```

[ci]: https://github.com/christianharke/nixcfg/actions/workflows/ci.yml
[ci-badge]: https://github.com/christianharke/nixcfg/actions/workflows/ci.yml/badge.svg
[update]: https://github.com/christianharke/nixcfg/actions/workflows/update.yml
[update-badge]: https://github.com/christianharke/nixcfg/actions/workflows/update.yml/badge.svg
[ci]: https://github.com/rake5k/nixcfg/actions/workflows/ci.yml
[ci-badge]: https://github.com/rake5k/nixcfg/actions/workflows/ci.yml/badge.svg
[update]: https://github.com/rake5k/nixcfg/actions/workflows/update.yml
[update-badge]: https://github.com/rake5k/nixcfg/actions/workflows/update.yml/badge.svg

[age]: https://age-encryption.org/
[agenix]: https://github.com/ryantm/agenix
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Modules

flake-commons = {
url = "github:christianharke/flake-commons";
url = "github:rake5k/flake-commons";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
pre-commit-hooks.follows = "pre-commit-hooks";
Expand All @@ -51,7 +51,7 @@
};

kmonad = {
url = "github:christianharke/kmonad?dir=nix";
url = "github:rake5k/kmonad?dir=nix";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
};
Expand All @@ -71,7 +71,7 @@
};

spacevim = {
url = "github:christianharke/spacevim-flake";
url = "github:rake5k/spacevim-flake";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
pre-commit-hooks.follows = "pre-commit-hooks";
Expand Down
2 changes: 1 addition & 1 deletion lib/apps/nixos-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ install() {
mount "${BOOT_PARTITION}" "${mount_boot}"

_log "[install] Installing NixOS..."
nixos-install --root "${mount_root}" --flake "github:christianharke/nixcfg#${HOSTNAME}" --impure
nixos-install --root "${mount_root}" --flake "github:rake5k/nixcfg#${HOSTNAME}" --impure
_log "[install] Installing NixOS... finished!"

_log "[install] Installation finished, please reboot and remove installation media..."
Expand Down
2 changes: 1 addition & 1 deletion lib/apps/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ _clone() {

# clone repos
if ! _is_nixos || _is_root; then
_clone "nix-config" [email protected]:christianharke/nixcfg.git "${nix_config}"
_clone "nix-config" [email protected]:rake5k/nixcfg.git "${nix_config}"
fi

# generage age key
Expand Down
2 changes: 1 addition & 1 deletion nixos/base/nix/auto-upgrade/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ in
enable = mkEnableOption "Enable automatic upgrades";
flake = mkOption {
type = types.str;
default = "github:christianharke/nixcfg";
default = "github:rake5k/nixcfg";
description = "Flake URI of the NixOS configuration to build.";
};
};
Expand Down

0 comments on commit 36d5242

Please sign in to comment.