everything should work

This commit is contained in:
voidarclabs
2026-01-04 14:47:23 +00:00
parent 8995b259d6
commit 652e59c457
4 changed files with 5 additions and 4 deletions

1
.gitmodules vendored
View File

@@ -4,3 +4,4 @@
[submodule ".nixos"]
path = .nixos
url = https://github.com/voidarclabs/nix
branch = main

View File

@@ -34,5 +34,5 @@ diff_command = "diff --unified --color=always"
# In the example below, <dotfiles dir>/laptop-dots/.zshrc will be symlinked to ~/.zshrc, taking precedence over <dotfiles dir>/.zshrc, if and only if the hostname is "my-laptop".
# If `implicit_dot` is set to true, the host-specific directories also count as top-level. For example, <dotfiles dir>/laptop-dots/config/foo will be symlinked as ~/.config/foo.
[hosts]
"hackstation" = "pc-files"
"laptop" = "laptop-files"
"HACKSTATION" = "pc-files"
"mobile02" = "laptop-files"

View File

@@ -1,3 +1,3 @@
# Just for Laptop
alias vinix="nvim ~/.nixos/configuration-laptop.nix"
alias nrs="sudo nixos-rebuild switch --impure --flake ~/.nixos#mobile02"
alias nrs="sudo nixos-rebuild switch --impure --flake $(dirname $(readlink -f ~/.dotfiles/.nixos/flake.nix))#mobile02"

View File

@@ -1,3 +1,3 @@
# Just for Hackstation
alias vinix="nvim ~/.nixos/configuration-pc.nix"
alias nrs="sudo nixos-rebuild switch --impure --flake ~/.nixos#hackstation"
alias nrs="sudo nixos-rebuild switch --impure --flake $(dirname $(readlink -f ~/.dotfiles/.nixos/flake.nix))#hackstation"