From 4ec6ff40e1f5ba3293415cba09d5348c83658d67 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Wed, 4 Sep 2024 00:03:04 -0400 Subject: [PATCH] home.nix cleanup --- home-manager/home.nix | 45 ++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index 0142908..eb7f069 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -1,30 +1,31 @@ { pkgs, ... }: { - home.username = "toph"; - home.homeDirectory = "/home/toph"; - home.stateVersion = "24.05"; + home = { + username = "toph"; + homeDirectory = "/home/toph"; + stateVersion = "24.05"; + # Packages + packages = with pkgs; [ + fastfetch + fish + fishPlugins.grc + fishPlugins.tide + grc + ]; - # Packages - home.packages = with pkgs; [ - fastfetch - fish - fishPlugins.grc - fishPlugins.tide - grc - ]; + file = { + # ".config" = { + # recursive = true; + # source = ../.config; + # }; + }; - home.file = { - # ".config" = { - # recursive = true; - # source = ../.config; - # }; - }; - - home.sessionVariables = { - EDITOR = "micro"; - VISUAL = "micro"; - XDG_CONFIG_HOME = "$HOME/.config"; + sessionVariables = { + EDITOR = "micro"; + VISUAL = "micro"; + XDG_CONFIG_HOME = "$HOME/.config"; + }; }; # Programs and Services