diff options
Diffstat (limited to 'nix/users')
-rw-r--r-- | nix/users/fcuny/home-manager.nix | 15 | ||||
-rw-r--r-- | nix/users/fcuny/work.nix | 13 |
2 files changed, 18 insertions, 10 deletions
diff --git a/nix/users/fcuny/home-manager.nix b/nix/users/fcuny/home-manager.nix index ca11b80..e975c37 100644 --- a/nix/users/fcuny/home-manager.nix +++ b/nix/users/fcuny/home-manager.nix @@ -1,12 +1,13 @@ -{ darwin, ... }: +{ darwin, systemName, ... }: -{ config, lib, pkgs, ... }: { +{ lib, pkgs, ... }: { home.stateVersion = "23.05"; xdg.enable = true; imports = [ ./shell.nix ./ssh.nix ./git.nix ] - ++ lib.optionals darwin [ ./1password.nix ./go.nix ./k8s.nix ]; + ++ lib.optionals darwin [ ./1password.nix ./go.nix ] + ++ lib.optionals (systemName == "hq-c02fk3q7md6t") [ ./work.nix ]; home.packages = with pkgs; [ @@ -14,18 +15,12 @@ age # nix - nil + nil # nix lsp nix-direnv nixd nixfmt-classic nixpkgs-fmt - nil # nix lsp ] ++ (lib.optionals (darwin) [ - # hashicorp - boundary - nomad-pack - tfswitch - # media mpv ffmpeg diff --git a/nix/users/fcuny/work.nix b/nix/users/fcuny/work.nix new file mode 100644 index 0000000..cc80104 --- /dev/null +++ b/nix/users/fcuny/work.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: { + imports = [ ./k8s.nix ]; + + home.packages = with pkgs; [ + # hashicorp + boundary + nomad-pack + tfswitch + + # for ssh + sapi + ]; +} |