everything should work
This commit is contained in:
1
.gitmodules
vendored
1
.gitmodules
vendored
@@ -4,3 +4,4 @@
|
|||||||
[submodule ".nixos"]
|
[submodule ".nixos"]
|
||||||
path = .nixos
|
path = .nixos
|
||||||
url = https://github.com/voidarclabs/nix
|
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".
|
# 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.
|
# 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]
|
[hosts]
|
||||||
"hackstation" = "pc-files"
|
"HACKSTATION" = "pc-files"
|
||||||
"laptop" = "laptop-files"
|
"mobile02" = "laptop-files"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Just for Laptop
|
# Just for Laptop
|
||||||
alias vinix="nvim ~/.nixos/configuration-laptop.nix"
|
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
|
# Just for Hackstation
|
||||||
alias vinix="nvim ~/.nixos/configuration-pc.nix"
|
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