diff --git a/home/darwin.nix b/home/darwin.nix index f6489e8..4945825 100644 --- a/home/darwin.nix +++ b/home/darwin.nix @@ -1,9 +1,4 @@ -{ inputs, lib, config, pkgs, ... }: -let - mypkgs = import ../packages/all-packages.nix { - inherit pkgs lib config; - }; -in +{ inputs, config, pkgs, ... }: { home = { @@ -16,6 +11,4 @@ in ./emacs.nix ./zsh.nix ]; - - home.file.".tmux/plugins/tpm".source = "${mypkgs.tpm}"; } diff --git a/home/shared.nix b/home/shared.nix index 35d27d9..d5e77b8 100644 --- a/home/shared.nix +++ b/home/shared.nix @@ -1,4 +1,9 @@ -{ inputs, config, pkgs, ... }: { +{ inputs, lib, config, pkgs, ... }: +let + mypkgs = import ../packages/all-packages.nix { + inherit pkgs lib config; + }; +in { nixpkgs.config.allowUnfree = true; fonts.fontconfig.enable = true; @@ -46,6 +51,8 @@ home.file = { ".functions.zsh".source = ../dotfiles/.functions.zsh; + ".tmux/plugins/tpm".source = "${mypkgs.tpm}"; + ".tmux.conf".source = ../dotfiles/.tmux.conf; }; home.stateVersion = "24.05";