Compare commits

..

2 commits

3 changed files with 6 additions and 2 deletions

View file

@ -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.

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { { pkgs, config, ... }: {
imports = [ imports = [
./fish.nix ./fish.nix
]; ];

View file

@ -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";
};
}; };
} }