fucking(refactored): everything
This commit is contained in:
@@ -1,12 +1,22 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
cfg = config.modules.spicetify;
|
||||
in
|
||||
{
|
||||
options.modules.spicetify = {
|
||||
enable = lib.mkEnableOption "spicetify configuration module";
|
||||
};
|
||||
imports = [
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
];
|
||||
programs.spicetify = {
|
||||
config.programs.spicetify = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
|
||||
Reference in New Issue
Block a user