about summary refs log tree commit diff
path: root/platforms/darwin/default.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-26 22:44:34 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-26 22:44:34 +0100
commitb6c3978d49c2b6d66aad538447d74897fec5882a (patch)
treefcbcd82c0c0a97ec4436c29a5eeafdd6b6b6094a /platforms/darwin/default.nix
parente82083214514df714bc5a5d1f3a30e9914b3561a (diff)
downloaddots-b6c3978d49c2b6d66aad538447d74897fec5882a.tar.gz
dots-b6c3978d49c2b6d66aad538447d74897fec5882a.zip
Drop darwin setup multi-machine
bye apple
Diffstat (limited to 'platforms/darwin/default.nix')
-rw-r--r--platforms/darwin/default.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/platforms/darwin/default.nix b/platforms/darwin/default.nix
deleted file mode 100644
index 5b41a4e..0000000
--- a/platforms/darwin/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ config, ... }:
-let
-  spotifyUsername = "pboss.n@gmail.com";
-  passwdCmd = "pass show spotify.com | head -n 1";
-in
-{
-  xdg.configFile."spotifyd/spotifyd.conf".text = ''
-    [global]
-    # Fill this in with your Spotify login.
-    username = ${spotifyUsername}
-    password_cmd = "${passwdCmd}"
-
-
-    # How this machine shows up in Spotify Connect.
-    device_name = spotifyd
-    device_type = computer
-
-    # This is the default location of Spotify's cache, so just replace LOGIN_NAME
-    # with your macOS login name (type `whoami` at a Terminal window).
-    cache_path = ${config.home.homeDirectory}/Library/Application Support/Spotify/PersistentCache/Storage
-    no_audio_cache = false
-
-    # Various playback options. Tweak these if Spotify is too quiet.
-    bitrate = 320
-    volume_normalisation = true
-    normalisation_pregain = -10
-
-    # These need to be set, but don't need to be changed.
-    backend = rodio
-    mixer = PCM
-    volume_controller = softvol
-    zeroconf_port = 1234
-  '';
-}