diff --git a/Justfile b/Justfile index fa7007b..b499470 100644 --- a/Justfile +++ b/Justfile @@ -2,10 +2,10 @@ default: @just --list rebuild host operation: - sudo nixos-rebuild {{operation}} --flake ./nixos#{{host}} + sudo nixos-rebuild {{operation}} --flake ./nix#{{host}} home-rebuild operation: - home-manager {{operation}} --flake ./nixos + home-manager {{operation}} --flake ./nix switch host: just rebuild {{host}} switch diff --git a/README.md b/README.md index f75fdcf..d9652a5 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ theoretically: nix-shell -p git just git clone https://git.sr.ht/~roxwize/.dotfiles cd .dotfiles/ -nixos-install --flake './nixos#[hostname]' +nixos-install --flake './nix#[hostname]' ``` -from my experience the process is more involved, but it ultimately boils down to those three commands above (the first command is only for bootstrapping). youll need to make a configuration for your host which involves creating default configurations with `nixos-generate-config`, copying it to your host's folder in `nixos/hosts/[host]/`, editing it, and then adding it to `flake.nix`. after that you should clone the repo inside of `/home/rae/` on your filesystem +from my experience the process is more involved, but it ultimately boils down to those three commands above (the first command is only for bootstrapping). youll need to make a configuration for your host which involves creating default configurations with `nixos-generate-config`, copying it to your host's folder in `nix/hosts/[host]/`, editing it, and then adding it to `flake.nix`. after that you should clone the repo inside of `/home/rae/` on your filesystem # usage diff --git a/nixos/flake.lock b/nix/flake.lock similarity index 100% rename from nixos/flake.lock rename to nix/flake.lock diff --git a/nixos/flake.nix b/nix/flake.nix similarity index 100% rename from nixos/flake.nix rename to nix/flake.nix diff --git a/nixos/home/base.nix b/nix/home/base.nix similarity index 100% rename from nixos/home/base.nix rename to nix/home/base.nix diff --git a/nixos/home/dconf.nix b/nix/home/dconf.nix similarity index 100% rename from nixos/home/dconf.nix rename to nix/home/dconf.nix diff --git a/nixos/home/default.nix b/nix/home/default.nix similarity index 100% rename from nixos/home/default.nix rename to nix/home/default.nix diff --git a/nixos/home/firefox.nix b/nix/home/firefox.nix similarity index 100% rename from nixos/home/firefox.nix rename to nix/home/firefox.nix diff --git a/nixos/home/neovim.nix b/nix/home/neovim.nix similarity index 100% rename from nixos/home/neovim.nix rename to nix/home/neovim.nix diff --git a/nixos/home/polybar.nix b/nix/home/polybar.nix similarity index 100% rename from nixos/home/polybar.nix rename to nix/home/polybar.nix diff --git a/nixos/home/vscode.nix b/nix/home/vscode.nix similarity index 100% rename from nixos/home/vscode.nix rename to nix/home/vscode.nix diff --git a/nixos/home/yambar.nix b/nix/home/yambar.nix similarity index 100% rename from nixos/home/yambar.nix rename to nix/home/yambar.nix diff --git a/nixos/hosts/base.nix b/nix/hosts/base.nix similarity index 100% rename from nixos/hosts/base.nix rename to nix/hosts/base.nix diff --git a/nixos/hosts/ioides/configuration.nix b/nix/hosts/ioides/configuration.nix similarity index 100% rename from nixos/hosts/ioides/configuration.nix rename to nix/hosts/ioides/configuration.nix diff --git a/nixos/hosts/ioides/hardware-configuration.nix b/nix/hosts/ioides/hardware-configuration.nix similarity index 100% rename from nixos/hosts/ioides/hardware-configuration.nix rename to nix/hosts/ioides/hardware-configuration.nix diff --git a/nixos/hosts/qemu/configuration.nix b/nix/hosts/qemu/configuration.nix similarity index 100% rename from nixos/hosts/qemu/configuration.nix rename to nix/hosts/qemu/configuration.nix diff --git a/nixos/hosts/qemu/hardware-configuration.nix b/nix/hosts/qemu/hardware-configuration.nix similarity index 100% rename from nixos/hosts/qemu/hardware-configuration.nix rename to nix/hosts/qemu/hardware-configuration.nix diff --git a/nixos/overlays.nix b/nix/overlays.nix similarity index 100% rename from nixos/overlays.nix rename to nix/overlays.nix diff --git a/nixos/packages.nix b/nix/packages.nix similarity index 100% rename from nixos/packages.nix rename to nix/packages.nix diff --git a/nixos/pkgs/chibicc-uxn/default.nix b/nix/pkgs/chibicc-uxn/default.nix similarity index 100% rename from nixos/pkgs/chibicc-uxn/default.nix rename to nix/pkgs/chibicc-uxn/default.nix diff --git a/nixos/pkgs/overlay.nix b/nix/pkgs/overlay.nix similarity index 100% rename from nixos/pkgs/overlay.nix rename to nix/pkgs/overlay.nix