1
0
Johan Rong 2 сар өмнө
parent
commit
50a8fbf84b

+ 5 - 0
flake.nix

@@ -107,5 +107,10 @@
         nixpkgs = inputs.nixpkgs;
         home-manager = inputs.home-manager;
       };
+      homeConfigurations."${hosts.dellaptop.user}@${hosts.dellaptop.hostname}" = mkHomeConfigurations {
+        host = hosts.dellaptop;
+        nixpkgs = inputs.nixpkgs;
+        home-manager = inputs.home-manager;
+      };
     };
 }

+ 13 - 0
home/features/desktop/sway/default.nix

@@ -15,6 +15,19 @@
     ./theming/breeze-dark.nix
   ];
 
+  xdg.userDirs = {
+    enable = true;
+    createDirectories = true;
+    
+    documents = "$HOME/Documents";
+    download = "$HOME/Downloads";
+    desktop = "$HOME/Desktop";
+    music = "$HOME/Music";
+    pictures = "$HOME/Pictures";
+    videos = "$HOME/Videos";
+    projects = "$HOME/Projects";
+  };
+
   home.packages = with pkgs; [
     grim
     slurp

+ 4 - 0
home/features/desktop/sway/sway.nix

@@ -198,6 +198,10 @@ in
           xkb_layout = "no";
           #xkb_variant = "cole";
         };
+        "type:touchpad" = {
+          tap = "enabled";
+          click_method = "clickfinger";
+        };
       };
 
       colors = {