everything should work
This commit is contained in:
1
.gitmodules
vendored
1
.gitmodules
vendored
@@ -4,3 +4,4 @@
|
||||
[submodule ".nixos"]
|
||||
path = .nixos
|
||||
url = https://github.com/voidarclabs/nix
|
||||
branch = main
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user