Commit 6ff5802

HPCesia <me@hpcesia.com>
2025-11-27 09:29:20
feat: remove vicinae
1 parent b4f336a
Changed files (5)
modules
desktop
desktop-environment
modules/desktop/desktop-environment/discrete/shell/noctalia/default.nix
@@ -23,7 +23,8 @@
         };
         appLauncher = {
           backgroundOpacity = config.stylix.opacity.popups;
-          enableClipboardHistory = false;
+          enableClipboardHistory = config.services.cliphist.enable;
+          useApp2Unit = true;
           terminalCommand = "ghostty -e";
         };
         notifications = {
modules/desktop/desktop-environment/discrete/clipboard.nix
@@ -1,11 +1,11 @@
 {
   flake.modules.homeManager.de-discrete = {pkgs, ...}: {
-    home.packages = [pkgs.wl-clipboard];
+    home.packages = [pkgs.wl-clipboard-rs];
 
-    # Use vicinae's clipboard store instead.
-    # services.cliphist = {
-    #   enable = true;
-    #   allowImages = true;
-    # };
+    services.cliphist = {
+      enable = true;
+      clipboardPackage = pkgs.wl-clipboard-rs;
+      allowImages = true;
+    };
   };
 }
modules/desktop/desktop-environment/discrete/vicinae.nix
@@ -1,23 +0,0 @@
-{inputs, ...}: {
-  flake.modules.homeManager.de-discrete = {config, ...}: {
-    imports = [inputs.vicinae.homeManagerModules.default];
-
-    services.vicinae = {
-      enable = true;
-      autoStart = true;
-      settings = {
-        closeOnFocusLoss = true;
-        faviconService = "twenty";
-        popToRootOnClose = true;
-        font = {
-          normal = config.stylix.fonts.sansSerif.name;
-          size = config.stylix.fonts.sizes.popups; # Same to stylix behaviour.
-        };
-        theme.iconTheme = config.stylix.iconTheme.${config.lib.stylix.colors.variant};
-        window.rounding = 15;
-      };
-    };
-
-    xdg.configFile."vicinae/vicinae.json".force = true;
-  };
-}
flake.lock
@@ -321,24 +321,6 @@
         "type": "github"
       }
     },
-    "flake-utils_2": {
-      "inputs": {
-        "systems": "systems_5"
-      },
-      "locked": {
-        "lastModified": 1731533236,
-        "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
-        "owner": "numtide",
-        "repo": "flake-utils",
-        "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
-        "type": "github"
-      },
-      "original": {
-        "owner": "numtide",
-        "repo": "flake-utils",
-        "type": "github"
-      }
-    },
     "fromYaml": {
       "flake": false,
       "locked": {
@@ -705,22 +687,6 @@
         "type": "github"
       }
     },
-    "nixpkgs_12": {
-      "locked": {
-        "lastModified": 1762111121,
-        "narHash": "sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw=",
-        "owner": "NixOS",
-        "repo": "nixpkgs",
-        "rev": "b3d51a0365f6695e7dd5cdf3e180604530ed33b4",
-        "type": "github"
-      },
-      "original": {
-        "owner": "NixOS",
-        "ref": "nixos-unstable",
-        "repo": "nixpkgs",
-        "type": "github"
-      }
-    },
     "nixpkgs_2": {
       "locked": {
         "lastModified": 1736241350,
@@ -1035,7 +1001,6 @@
         "silentSDDM": "silentSDDM",
         "stylix": "stylix",
         "vaultix": "vaultix",
-        "vicinae": "vicinae",
         "wallpapers": "wallpapers"
       }
     },
@@ -1193,21 +1158,6 @@
         "type": "github"
       }
     },
-    "systems_5": {
-      "locked": {
-        "lastModified": 1681028828,
-        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
-        "owner": "nix-systems",
-        "repo": "default",
-        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
-        "type": "github"
-      },
-      "original": {
-        "owner": "nix-systems",
-        "repo": "default",
-        "type": "github"
-      }
-    },
     "tinted-foot": {
       "flake": false,
       "locked": {
@@ -1344,26 +1294,6 @@
         "type": "github"
       }
     },
-    "vicinae": {
-      "inputs": {
-        "flake-utils": "flake-utils_2",
-        "nixpkgs": "nixpkgs_12"
-      },
-      "locked": {
-        "lastModified": 1762944764,
-        "narHash": "sha256-smhbchRZmp7DwRLGA3QoI12kQuMVaxiNkhzfC+n19+4=",
-        "owner": "vicinaehq",
-        "repo": "vicinae",
-        "rev": "576ea047d51ce4395f76f0d07776d68f2485c5c9",
-        "type": "github"
-      },
-      "original": {
-        "owner": "vicinaehq",
-        "ref": "v0.16.5",
-        "repo": "vicinae",
-        "type": "github"
-      }
-    },
     "wallpapers": {
       "flake": false,
       "locked": {
flake.nix
@@ -47,8 +47,6 @@
 
     vaultix.url = "github:milieuim/vaultix";
 
-    vicinae.url = "github:vicinaehq/vicinae/v0.16.5";
-
     # == Personal inputs ==
     nixos-logo.url = "git+https://repo.hpcesia.com/HPCesia/nixos-logo?shallow=1";
     nixos-logo.flake = false;