about summary refs log tree commit diff stats
path: root/home-manager/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-11 16:48:09 +0100
committerene <ene@sils.li>2023-02-12 17:47:40 +0100
commitc0717cd0fc05dd7fc88e6941923570b00ed55f18 (patch)
tree42564a13449ce41033b8208047f8481bbf8cef45 /home-manager/default.nix
parentFeat(home-manager): Make the home configuration better (diff)
downloadnixos-config-c0717cd0fc05dd7fc88e6941923570b00ed55f18.tar.gz
nixos-config-c0717cd0fc05dd7fc88e6941923570b00ed55f18.zip
Fix(home-manager): Import home-manager correctly
Diffstat (limited to '')
-rw-r--r--home-manager/default.nix55
1 files changed, 26 insertions, 29 deletions
diff --git a/home-manager/default.nix b/home-manager/default.nix
index e6983ee4..d559d35b 100644
--- a/home-manager/default.nix
+++ b/home-manager/default.nix
@@ -12,38 +12,35 @@
   configHome = "${homeDirectory}/.config";
 in {
   imports = [
-    home-manager.nixosModules.home-manager
+    #home-manager.nixosModules.home-manager
 
-        ./alacritty
-        ./cups
-        ./firefox
-        ./gammastep
-        ./git
-        ./grades
-        ./gtk
-        ./keepassxc
-        ./latexindent
-        ./less
-        ./lf
-        ./mako
-        ./mpd
+    ./alacritty
+    ./cups
+    ./firefox
+    ./gammastep
+    ./git
+    ./grades
+    ./gtk
+    ./keepassxc
+    ./latexindent
+    ./less
+    ./lf
+    ./mako
+    ./mpd
   ];
+  home = {
+    inherit username homeDirectory;
+    stateVersion = "23.05";
 
-  home-manager.users.soispha = {
-    home = {
-      inherit username homeDirectory;
-      stateVersion = "23.05";
-
-      # TODO
-      sessionVariables = {
-        DISPLAY = ":0";
-        EDITOR = "nvim";
-      };
-      packages = [];
-    };
-    xdg = {
-      inherit configHome;
-      enable = true;
+    # TODO
+    sessionVariables = {
+      DISPLAY = ":0";
+      EDITOR = "nvim";
     };
+    packages = [];
+  };
+  xdg = {
+    inherit configHome;
+    enable = true;
   };
 }