1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
Rae 5e 2025-01-23 22:35:27 -05:00
parent abb6a7629f
commit 062c447374
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
21 changed files with 4 additions and 4 deletions

View file

@ -2,10 +2,10 @@ default:
@just --list @just --list
rebuild host operation: rebuild host operation:
sudo nixos-rebuild {{operation}} --flake ./nixos#{{host}} sudo nixos-rebuild {{operation}} --flake ./nix#{{host}}
home-rebuild operation: home-rebuild operation:
home-manager {{operation}} --flake ./nixos home-manager {{operation}} --flake ./nix
switch host: switch host:
just rebuild {{host}} switch just rebuild {{host}} switch

View file

@ -14,10 +14,10 @@ theoretically:
nix-shell -p git just nix-shell -p git just
git clone https://git.sr.ht/~roxwize/.dotfiles git clone https://git.sr.ht/~roxwize/.dotfiles
cd .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 # usage