From cfdf06d19dbb9aa65342dff28436aa5b98dfd8f1 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 11 Oct 2023 01:01:40 -0400 Subject: [PATCH] feat(nix): add root in home-manager users to have similar environment --- nixos/home/main.nix | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/nixos/home/main.nix b/nixos/home/main.nix index d3f4a839..956db08f 100644 --- a/nixos/home/main.nix +++ b/nixos/home/main.nix @@ -16,20 +16,33 @@ programs.dconf.enable = true; ############################################################################# - home-manager.users.matt = { + # TODO: use hm for tmux + home-manager.users = { - imports = [ - nur.hmModules.nur - ./dconf.nix - ./theme.nix - ./hyprland.nix - ./bashdots.nix - ./dotfiles.nix - ./packages.nix - ./nvim.nix - ./firefox/main.nix - ]; + root = { + imports = [ + ./bashdots.nix + ./nvim.nix + ]; - home.stateVersion = "23.05"; + home.stateVersion = "23.05"; + }; + + matt = { + + imports = [ + nur.hmModules.nur + ./dconf.nix + ./theme.nix + ./hyprland.nix + ./bashdots.nix + ./dotfiles.nix + ./packages.nix + ./nvim.nix + ./firefox/main.nix + ]; + + home.stateVersion = "23.05"; + }; }; }