From 1b82a3074a8dd25c9209199bb272e8e17d1913e6 Mon Sep 17 00:00:00 2001 From: Random936 Date: Thu, 4 Jul 2024 23:07:27 -0700 Subject: [PATCH] Moved TPM and tmux config to home-manager shared config --- home/darwin.nix | 9 +-------- home/shared.nix | 9 ++++++++- 2 files changed, 9 insertions(+), 9 deletions(-) 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";