mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
configured spotifyd and spt
This commit is contained in:
parent
0e085baeb1
commit
2cb528c2b7
7 changed files with 39 additions and 22 deletions
|
@ -11,6 +11,7 @@
|
|||
./neovim
|
||||
./qutebrowser
|
||||
./sops
|
||||
./spotify
|
||||
./ssh
|
||||
./tmux
|
||||
./vifm
|
||||
|
|
|
@ -86,7 +86,6 @@
|
|||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)
|
||||
vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
|
||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts)
|
||||
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, bufopts)
|
||||
vim.keymap.set('n', '<leader>D', vim.lsp.buf.type_definition, bufopts)
|
||||
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts)
|
||||
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts)
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
|
||||
# misc
|
||||
neofetch # obligatory
|
||||
#spotify # make probles atm
|
||||
virt-manager
|
||||
ventoy-bin
|
||||
|
||||
|
|
14
users/rouven/modules/spotify/default.nix
Normal file
14
users/rouven/modules/spotify/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.spotify-tui ];
|
||||
sops.secrets."spotify" = { };
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
username = config.accounts.email.accounts."gmail".address;
|
||||
password_cmd = "${pkgs.coreutils}/bin/cat $XDG_RUNTIME_DIR/secrets/spotify";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -5,6 +5,9 @@
|
|||
shellAliases = {
|
||||
rm = "trash";
|
||||
ls = "exa --icons";
|
||||
l = "ls -l";
|
||||
ll = "ls -la";
|
||||
la = "ls -a";
|
||||
};
|
||||
history = {
|
||||
size = 10000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue