Moved TPM and tmux config to home-manager shared config

This commit is contained in:
Random936 2024-07-04 23:07:27 -07:00
parent 7535ca67a2
commit 1b82a3074a
2 changed files with 9 additions and 9 deletions

View File

@ -1,9 +1,4 @@
{ inputs, lib, config, pkgs, ... }: { inputs, config, pkgs, ... }:
let
mypkgs = import ../packages/all-packages.nix {
inherit pkgs lib config;
};
in
{ {
home = { home = {
@ -16,6 +11,4 @@ in
./emacs.nix ./emacs.nix
./zsh.nix ./zsh.nix
]; ];
home.file.".tmux/plugins/tpm".source = "${mypkgs.tpm}";
} }

View File

@ -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; nixpkgs.config.allowUnfree = true;
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@ -46,6 +51,8 @@
home.file = { home.file = {
".functions.zsh".source = ../dotfiles/.functions.zsh; ".functions.zsh".source = ../dotfiles/.functions.zsh;
".tmux/plugins/tpm".source = "${mypkgs.tpm}";
".tmux.conf".source = ../dotfiles/.tmux.conf;
}; };
home.stateVersion = "24.05"; home.stateVersion = "24.05";