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