dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit f5ab70c9f437a2f91d91de6d5253022600548c16 parent c2697c92d955a8866162fcaee0cd8aec4af71ef4 Author: maydayv7 <maydayv7@gmail.com> Date: Sun, 4 Feb 2024 16:37:31 +0530 fix: Rollback `home-manager`
Diffstat:
| M | flake.lock | | | 7 | ++++--- |
| M | flake.nix | | | 2 | +- |
| M | modules/gui/desktop/hyprland/apps/bar.nix | | | 1 | + |
| M | modules/gui/desktop/hyprland/settings/default.nix | | | 35 | ++++++++++++++++++++--------------- |
| M | modules/user/home.nix | | | 1 | - |
5 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/flake.lock b/flake.lock @@ -526,15 +526,16 @@ ] }, "locked": { - "lastModified": 1706985585, - "narHash": "sha256-ptshv4qXiC6V0GCfpABz88UGGPNwqs5tAxaRUKbk1Qo=", + "lastModified": 1706981411, + "narHash": "sha256-cLbLPTL1CDmETVh4p0nQtvoF+FSEjsnJTFpTxhXywhQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "1ca210648a6ca9b957efde5da957f3de6b1f0c45", + "rev": "652fda4ca6dafeb090943422c34ae9145787af37", "type": "github" }, "original": { "owner": "nix-community", + "ref": "release-23.11", "repo": "home-manager", "type": "github" } diff --git a/flake.nix b/flake.nix @@ -100,7 +100,7 @@ ## Feature Modules # User Home Manager home-manager = { - url = "github:nix-community/home-manager"; + url = "github:nix-community/home-manager?ref=release-23.11"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/modules/gui/desktop/hyprland/apps/bar.nix b/modules/gui/desktop/hyprland/apps/bar.nix @@ -200,6 +200,7 @@ in rec { format-icons = ["" "" "" "" "" "" "" "" ""]; on-scroll-down = "${pkgs.brillo}/bin/brillo -u 300000 -A 5"; on-scroll-up = "${pkgs.brillo}/bin/brillo -u 300000 -U 5"; + on-click = "nwg-displays"; }; battery = { diff --git a/modules/gui/desktop/hyprland/settings/default.nix b/modules/gui/desktop/hyprland/settings/default.nix @@ -14,10 +14,26 @@ plugins = with pkgs.hyprworld; [hycov]; # Use 'nwg-displays' to configure monitors - extraConfig = '' - source = ~/.config/hypr/monitors.conf - source = ~/.config/hypr/workspaces.conf - ''; + extraConfig = + '' + source = ~/.config/hypr/monitors.conf + source = ~/.config/hypr/workspaces.conf + '' + + + # Overview + '' + plugin { + hycov { + enable_gesture=1 + enable_hotarea=1 + hotarea_size=10 + only_active_workspace=1 + overview_gappi=24 + overview_gappo=60 + swipe_fingers=4 + } + } + ''; settings = { debug.disable_logs = false; @@ -105,17 +121,6 @@ passes = 2; }; }; - - # Overview - plugin.hycov = { - overview_gappo = 60; - overview_gappi = 24; - hotarea_size = 10; - enable_hotarea = 1; - enable_gesture = 1; - swipe_fingers = 4; - only_active_workspace = 1; - }; }; }; } diff --git a/modules/user/home.nix b/modules/user/home.nix @@ -16,7 +16,6 @@ # Package Configuration home = { inherit (config.system) stateVersion; - enableNixpkgsReleaseCheck = false; file = { ".config/nixpkgs/config.nix".source = ../nix/config.nix; ".config/nix/nix.conf".source =