This commit is contained in:
Filippo Berto 2023-01-10 14:28:18 +01:00
parent d5b262b4fa
commit 4913d01060
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 14 additions and 14 deletions

10
hm_modules/spotifyd.nix Normal file
View file

@ -0,0 +1,10 @@
{ nixosConfig, ... }: {
services.spotifyd = {
enable = true;
settings.global = {
username = "filippoberto95";
password_cmd = "cat ${nixosConfig.age.secrets.spotify_password.path}";
backend = "pulseaudio";
};
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, nixosConfig, ... }: {
{ pkgs, ... }: {
home = {
language.base = "it_IT.UTF-8";
keyboard = {
@ -71,19 +71,7 @@
];
};
services = {
gnome-keyring.enable = true;
spotifyd = {
enable = true;
settings = {
global = {
username = "filippoberto95";
password_cmd = "cat ${nixosConfig.age.secrets.spotify_password.path}";
use_keyring = true;
};
};
};
};
services = { gnome-keyring.enable = true; };
xsession = {
enable = true;
@ -150,6 +138,7 @@
../hm_modules/rofi.nix
# ../hm_modules/screen_locker.nix
# ../hm_modules/security.nix
../hm_modules/spotifyd.nix
../hm_modules/sxhkd.nix
../hm_modules/syncthing.nix
../hm_modules/terminator.nix

View file

@ -126,6 +126,7 @@
../hm_modules/polybar.nix
../hm_modules/pro_audio.nix
# ../hm_modules/pycharm.nix
../hm_modules/spotifyd.nix
../hm_modules/research.nix
../hm_modules/rofi.nix
# ../hm_modules/screen_locker.nix