Spotifyd
This commit is contained in:
parent
d5b262b4fa
commit
4913d01060
3 changed files with 14 additions and 14 deletions
10
hm_modules/spotifyd.nix
Normal file
10
hm_modules/spotifyd.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
17
odin/hm.nix
17
odin/hm.nix
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, nixosConfig, ... }: {
|
{ pkgs, ... }: {
|
||||||
home = {
|
home = {
|
||||||
language.base = "it_IT.UTF-8";
|
language.base = "it_IT.UTF-8";
|
||||||
keyboard = {
|
keyboard = {
|
||||||
|
|
@ -71,19 +71,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = { gnome-keyring.enable = true; };
|
||||||
gnome-keyring.enable = true;
|
|
||||||
spotifyd = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
global = {
|
|
||||||
username = "filippoberto95";
|
|
||||||
password_cmd = "cat ${nixosConfig.age.secrets.spotify_password.path}";
|
|
||||||
use_keyring = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
xsession = {
|
xsession = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -150,6 +138,7 @@
|
||||||
../hm_modules/rofi.nix
|
../hm_modules/rofi.nix
|
||||||
# ../hm_modules/screen_locker.nix
|
# ../hm_modules/screen_locker.nix
|
||||||
# ../hm_modules/security.nix
|
# ../hm_modules/security.nix
|
||||||
|
../hm_modules/spotifyd.nix
|
||||||
../hm_modules/sxhkd.nix
|
../hm_modules/sxhkd.nix
|
||||||
../hm_modules/syncthing.nix
|
../hm_modules/syncthing.nix
|
||||||
../hm_modules/terminator.nix
|
../hm_modules/terminator.nix
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,7 @@
|
||||||
../hm_modules/polybar.nix
|
../hm_modules/polybar.nix
|
||||||
../hm_modules/pro_audio.nix
|
../hm_modules/pro_audio.nix
|
||||||
# ../hm_modules/pycharm.nix
|
# ../hm_modules/pycharm.nix
|
||||||
|
../hm_modules/spotifyd.nix
|
||||||
../hm_modules/research.nix
|
../hm_modules/research.nix
|
||||||
../hm_modules/rofi.nix
|
../hm_modules/rofi.nix
|
||||||
# ../hm_modules/screen_locker.nix
|
# ../hm_modules/screen_locker.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue