fix broken import

This commit is contained in:
Adithya 2023-04-07 14:07:44 +05:30
parent 04f6aa74e7
commit a7b712d473
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 32 additions and 28 deletions

View file

@ -1,9 +1,9 @@
{ ... }: {
imports = [
./gpg-agent.nix
./spotifyd.nix
];
services = {
imports = [
./gpg-agent.nix
./spotifyd.nix
];
blueman-applet.enable = true;
gnome-keyring.enable = true;
};

View file

@ -1,9 +1,11 @@
{ ... }: {
gpg-agent = {
enable = true;
enableExtraSocket = true;
enableScDaemon = true;
enableSshSupport = true;
pinentryFlavor = "gnome3";
services = {
gpg-agent = {
enable = true;
enableExtraSocket = true;
enableScDaemon = true;
enableSshSupport = true;
pinentryFlavor = "gnome3";
};
};
}

View file

@ -1,22 +1,24 @@
{ pkgs, ... }: {
spotifyd = {
enable = true;
package = pkgs.spotifyd.override {
withKeyring = true;
withMpris = true;
};
settings = {
global = {
use_keyring = true;
use_mpris = true;
username_cmd = ''
${pkgs.libsecret}/bin/secret-tool search --all service spotifyd 2>&1 | grep 'username' | awk -F'= ' '{print $2}'
'';
device_name = "Skipperd";
device_type = "computer";
backend = "pulseaudio";
no_audio_cache = true;
dbus_type = "session";
services = {
spotifyd = {
enable = true;
package = pkgs.spotifyd.override {
withKeyring = true;
withMpris = true;
};
settings = {
global = {
use_keyring = true;
use_mpris = true;
username_cmd = ''
${pkgs.libsecret}/bin/secret-tool search --all service spotifyd 2>&1 | grep 'username' | awk -F'= ' '{print $2}'
'';
device_name = "Skipperd";
device_type = "computer";
backend = "pulseaudio";
no_audio_cache = true;
dbus_type = "session";
};
};
};
};