mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-30 22:53:37 +00:00
~
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
abb6a7629f
commit
062c447374
21 changed files with 4 additions and 4 deletions
4
Justfile
4
Justfile
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue