Home: Replace spotify with spicetify + configure cava
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
# The nixosConfig allows to access the toplevel system configuration from within home manager
|
# The nixosConfig allows to access the toplevel system configuration from within home manager
|
||||||
# https://github.com/nix-community/home-manager/blob/586ac1fd58d2de10b926ce3d544b3179891e58cb/nixos/default.nix#L19
|
# https://github.com/nix-community/home-manager/blob/586ac1fd58d2de10b926ce3d544b3179891e58cb/nixos/default.nix#L19
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
hostname,
|
hostname,
|
||||||
username,
|
username,
|
||||||
lib,
|
lib,
|
||||||
@ -523,6 +524,39 @@ rec {
|
|||||||
|
|
||||||
btop.enable = true;
|
btop.enable = true;
|
||||||
|
|
||||||
|
cava = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
general = {
|
||||||
|
framerate = 60; # default 60
|
||||||
|
autosens = 1; # default 1
|
||||||
|
sensitivity = 100; # default 100
|
||||||
|
lower_cutoff_freq = 50; # not passed to cava if not provided
|
||||||
|
higher_cutoff_freq = 10000; # not passed to cava if not provided
|
||||||
|
};
|
||||||
|
|
||||||
|
smoothing = {
|
||||||
|
noise_reduction = 77; # default 77
|
||||||
|
monstercat = false; # default false
|
||||||
|
waves = false; # default false
|
||||||
|
};
|
||||||
|
|
||||||
|
color = {
|
||||||
|
# https://github.com/catppuccin/cava/blob/main/themes/latte-transparent.cava
|
||||||
|
gradient = 1;
|
||||||
|
gradient_color_1 = "'#179299'";
|
||||||
|
gradient_color_2 = "'#04a5e5'";
|
||||||
|
gradient_color_3 = "'#209fb5'";
|
||||||
|
gradient_color_4 = "'#1e66f5'";
|
||||||
|
gradient_color_5 = "'#8839ef'";
|
||||||
|
gradient_color_6 = "'#ea76cb'";
|
||||||
|
gradient_color_7 = "'#e64553'";
|
||||||
|
gradient_color_8 = "'#d20f39'";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
@ -685,8 +719,31 @@ rec {
|
|||||||
|
|
||||||
nushell.enable = false;
|
nushell.enable = false;
|
||||||
|
|
||||||
|
spicetify = let
|
||||||
|
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||||
|
in {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# https://github.com/catppuccin/spicetify
|
||||||
|
theme = spicePkgs.themes.catppuccin;
|
||||||
|
colorScheme = "mocha";
|
||||||
|
|
||||||
|
wayland = true;
|
||||||
|
|
||||||
|
enabledExtensions = with spicePkgs.extensions; [
|
||||||
|
adblock
|
||||||
|
hidePodcasts
|
||||||
|
oneko # cat
|
||||||
|
];
|
||||||
|
# enabledCustomApps = with spicePkgs.apps; [];
|
||||||
|
enabledSnippets = with spicePkgs.snippets; [
|
||||||
|
rotatingCoverart
|
||||||
|
pointer
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true; # NOTE: Do NOT generate .ssh/config using HM, as it will have invalid permissions!
|
enable = true;
|
||||||
compression = true;
|
compression = true;
|
||||||
|
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
@ -1011,7 +1068,7 @@ rec {
|
|||||||
packages = [
|
packages = [
|
||||||
"com.github.tchx84.Flatseal"
|
"com.github.tchx84.Flatseal"
|
||||||
|
|
||||||
"com.spotify.Client"
|
# "com.spotify.Client" # Don't need this when spicetify is enabled
|
||||||
|
|
||||||
# NOTE: Also change discord-ipc-0 below
|
# NOTE: Also change discord-ipc-0 below
|
||||||
"com.discordapp.Discord"
|
"com.discordapp.Discord"
|
||||||
|
Reference in New Issue
Block a user