fucking(refactored): everything
This commit is contained in:
4
nix/modules/spicetify/default.nix
Normal file
4
nix/modules/spicetify/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
# nixos: ./nixos.nix;
|
||||
}
|
||||
@@ -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