From 413a693334103353c88cc6a99bd68f5f15f5c781 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 7 Aug 2023 12:10:06 -0500 Subject: [PATCH] update work profile example --- .example_work_profile/work_overrides/default.nix | 2 +- .example_work_profile/work_overrides/fish.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.example_work_profile/work_overrides/default.nix b/.example_work_profile/work_overrides/default.nix index 2ae36c0..78a0b1e 100644 --- a/.example_work_profile/work_overrides/default.nix +++ b/.example_work_profile/work_overrides/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ pkgs, config, ... }: { imports = [ ./fish.nix ]; diff --git a/.example_work_profile/work_overrides/fish.nix b/.example_work_profile/work_overrides/fish.nix index e80df6c..8f3a9e5 100644 --- a/.example_work_profile/work_overrides/fish.nix +++ b/.example_work_profile/work_overrides/fish.nix @@ -9,5 +9,9 @@ sshroot = "ssh -i ~/.ssh/id_ed25519-root -l root"; 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"; + }; }; } \ No newline at end of file