mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-29 12:12:19 +00:00
Compare commits
2 commits
2a1f31dbad
...
1b517816df
Author | SHA1 | Date | |
---|---|---|---|
1b517816df | |||
413a693334 |
3 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Work profile overlay
|
# Work profile overlay
|
||||||
|
|
||||||
_Inspired by [Published my Nix Dotfiles](https://www.chrisportela.com/posts/published-nix-dotfiles/)._
|
_Inspired by the post [Published my Nix Dotfiles](https://www.chrisportela.com/posts/published-nix-dotfiles/) by [@chrisportela](https://github.com/chrisportela)._
|
||||||
|
|
||||||
This repo demonstrates how I use a private repo to overlay my work-specific configurations on top of my personal ones. To use it, I just:
|
This repo demonstrates how I use a private repo to overlay my work-specific configurations on top of my personal ones. To use it, I just:
|
||||||
1. Clone the private repo to my machine.
|
1. Clone the private repo to my machine.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./fish.nix
|
./fish.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -9,5 +9,9 @@
|
||||||
sshroot = "ssh -i ~/.ssh/id_ed25519-root -l root";
|
sshroot = "ssh -i ~/.ssh/id_ed25519-root -l root";
|
||||||
vpnkit = "wsl.exe -d wsl-vpnkit --cd /app service wsl-vpnkit";
|
vpnkit = "wsl.exe -d wsl-vpnkit --cd /app service wsl-vpnkit";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
functions = {
|
||||||
|
update-dotfiles = "nix flake lock --update-input dotfiles ${config.home.homeDirectory}/.dotfiles/ && switch-home";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue