From 8342f3abaf4167aec9845c173e3325f4fc80a2c3 Mon Sep 17 00:00:00 2001 From: schererleander Date: Tue, 29 Apr 2025 19:13:19 +0200 Subject: update spicetify nixcord --- modules/home-manager/default.nix | 2 ++ modules/home-manager/nixcord.nix | 22 ++++++++++++++++++++++ modules/home-manager/spicetify.nix | 4 ++-- modules/home-manager/vencord.nix | 22 ---------------------- 4 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 modules/home-manager/nixcord.nix delete mode 100644 modules/home-manager/vencord.nix (limited to 'modules') diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 9e5a958..ebddc5f 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -9,5 +9,7 @@ ./waybar.nix ./neovim/default.nix ./nextcloud.nix + ./spicetify.nix + ./nixcord.nix ]; } diff --git a/modules/home-manager/nixcord.nix b/modules/home-manager/nixcord.nix new file mode 100644 index 0000000..8b085c4 --- /dev/null +++ b/modules/home-manager/nixcord.nix @@ -0,0 +1,22 @@ +{ config, lib, pkgs, inputs, ... }: + +let + cfg = config.nixcord; +in { + options.nixcord.enable = lib.mkEnableOption "Enable nixord and setup"; + config = lib.mkIf cfg.enable { + programs.nixcord = { + enable = true; + config = { + themeLinks = [ + "https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/blob/main/Ultra/Ultra.theme.css" + ]; + frameless = true; + plugins = { + alwaysAnimate.enable = true; + clearURLs.enable = true; + }; + }; + }; + }; +} diff --git a/modules/home-manager/spicetify.nix b/modules/home-manager/spicetify.nix index e331ad3..d961779 100644 --- a/modules/home-manager/spicetify.nix +++ b/modules/home-manager/spicetify.nix @@ -1,9 +1,9 @@ { config, lib, pkgs, inputs, ... }: let cfg = config.spicetify; - spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default; + spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system}; in { - options.spicetify.enable = lib.mkEnableOption "Enable and configure Spicetify"; + options.spicetify.enable = lib.mkEnableOption "Enable Spicetify integration"; config = lib.mkIf cfg.enable { programs.spicetify = { enable = true; diff --git a/modules/home-manager/vencord.nix b/modules/home-manager/vencord.nix deleted file mode 100644 index 8b085c4..0000000 --- a/modules/home-manager/vencord.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, lib, pkgs, inputs, ... }: - -let - cfg = config.nixcord; -in { - options.nixcord.enable = lib.mkEnableOption "Enable nixord and setup"; - config = lib.mkIf cfg.enable { - programs.nixcord = { - enable = true; - config = { - themeLinks = [ - "https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/blob/main/Ultra/Ultra.theme.css" - ]; - frameless = true; - plugins = { - alwaysAnimate.enable = true; - clearURLs.enable = true; - }; - }; - }; - }; -} -- cgit v1.3.1