configured spotifyd and spt

This commit is contained in:
Rouven Seifert 2023-02-26 22:50:07 +01:00
parent 0e085baeb1
commit 2cb528c2b7
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
7 changed files with 39 additions and 22 deletions

View file

@ -62,11 +62,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1677276957,
"narHash": "sha256-/vhdNhQj2CWgqdfD2KLEZWDleOfen0t2EiaGiyivnJU=",
"lastModified": 1677437727,
"narHash": "sha256-1BoofKqPT08sLCtm2hzABocYrSwkc8GtmeDuvrIXdjc=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "664945b3e09b4551c4e63e16efebd493cf5eac74",
"rev": "bf76afbb06b77237507b5279d0d555e05b5cc7f7",
"type": "github"
},
"original": {
@ -85,11 +85,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1677363591,
"narHash": "sha256-hSP+adSLxnOMUVxb+Y+Xiv8eoruw+JnjntZyRLATeo8=",
"lastModified": 1677419735,
"narHash": "sha256-f1kAXaUBWt7OAlPCvx4oiuPQiLInw0qvLM/Qpf2kPXs=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "edd0a141de56cb71dc46ffdaf70fe0ccd950b136",
"rev": "18ed73f091204e44304192bd90c21fe5463ab46d",
"type": "github"
},
"original": {
@ -160,11 +160,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1677232326,
"narHash": "sha256-rAk2/80kLvA3yIMmSV86T1B4kNvwCFMSQ1FxXndaUB0=",
"lastModified": 1677440795,
"narHash": "sha256-Kmjr95L42iioTItuA6nKCaObAXQvgRTPmj+62dx5OZg=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "2d44015779cced4eec9df5b8dab238b9f6312cb2",
"rev": "2a483ad9cd2d931ab52cd5f897c447beb8328bed",
"type": "github"
},
"original": {
@ -206,11 +206,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1676771332,
"narHash": "sha256-YYn2K0AwyIyCzvP7C+xzEt64rlCRPyrllRPGNNu+50M=",
"lastModified": 1677367679,
"narHash": "sha256-pOMXi7F9tcHls06Qv+7XCPASTJeXu47Jhd0Pk9du8T4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f27a4e2f6a3a23b843ca1c736e6043fb8b99acc1",
"rev": "ea736343e4d4a052e023d54b23334cf685de479c",
"type": "github"
},
"original": {
@ -229,11 +229,11 @@
]
},
"locked": {
"lastModified": 1677348479,
"narHash": "sha256-9k2qZo+1KPRRfHzIUs9gfrTxx7ZR+KGPLkpWpDRlp5U=",
"lastModified": 1677437451,
"narHash": "sha256-Ls6xIUWF9LOGN7Vtt7HjEf0rSg6VHE42nsIY1oJWT2k=",
"owner": "pta2002",
"repo": "nixvim",
"rev": "705356d4787ecddfc88629ca7ec5e03a8edb4944",
"rev": "b9f32b34433be58e19b84f04598e113ab7fb0c6d",
"type": "github"
},
"original": {
@ -289,11 +289,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1676959847,
"narHash": "sha256-KZS6sIsMXiNyN7jW45MrEo95iEXj6nMLKvxgxO181no=",
"lastModified": 1677381477,
"narHash": "sha256-NLzWgll+Q0Af8gI1ha34OHt7Y1GtOMYhCWQWV9LXE9Y=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "2c5828439d718a6cddd9a511997d9ac7626a4aff",
"rev": "83fe25c8019db8216f5c6ffc65b394707784b4f3",
"type": "github"
},
"original": {

View file

@ -3,6 +3,7 @@ email:
rfive: ENC[AES256_GCM,data:j51G8LkEu3e3HPhZVTrBDsjJkDGIMZ3PPw==,iv:FtcO97LF57h4p8ZyvZPQ7gsLlQUyg+RzyIPlPYhLYK0=,tag:XbDBwcvWAlbuLvvV0I+2LA==,type:str]
google: ENC[AES256_GCM,data:044yUHWp8PvtTytFwfCAhg==,iv:nRWzcxXCogombevZQxYsMuLL4us1kv6WKfChRphLR48=,tag:fnHxnweczc5bElK8kGa6rw==,type:str]
ifsr: ENC[AES256_GCM,data:debmpTL+VYNE3InslDyV0FW1sKjBFA==,iv:ZKwyOMsfQivesFoEJeDCNnPzOgwlP0xmJ0GNsA57njM=,tag:CJZhWTb2MfsR+rv2VY6Xmw==,type:str]
spotify: ENC[AES256_GCM,data:J9j4aIyXIRZcjcjYH1+J,iv:fEiMS+BiXiq8O/fHV1nBPhQ+mv83Qx2SzntkSGd5aVg=,tag:1BZtXH9szEOJBs83LXhrOw==,type:str]
sops:
kms: []
gcp_kms: []
@ -18,8 +19,8 @@ sops:
N08rUm1KNCtOaHlYVnFZUFViZnNHeUkKvQTAtOKQqCJP54eV6bxxCWX5CKACPJQP
MBkKw0jbgjBI4SuDdPQVaXE0gEllJPjENUjqXGVatYbhBStbIraZQQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2023-02-25T23:44:24Z"
mac: ENC[AES256_GCM,data:OxfIyFsDaMRkCcafcfETLRUP0Riw7XXqz8/aLrF9/gSFYUix5SlqGCFqT1+GyhjIewQK88oe3AjVeKwuuFjqgXVEh2/4+rLIOvHaW1z+Io9QSdU7ReNRK3KtwRbnZuB2grwt5UXNmSFUntdfIiF33wsKpMFAAJRStFFVwt6fMyc=,iv:oDsZt3T7yFNutmTX6BNL4FCckz09pdORZxDvLRWE4eI=,tag:Y2Yi+tiKOUYOGF/iLfjhJg==,type:str]
lastmodified: "2023-02-26T21:31:46Z"
mac: ENC[AES256_GCM,data:C7zsGBibZB7DB9czb3w7P4NYZNTXqXnpVlj3kJ/l1lRBHBYlzKG7ZZCPB+4/lqqveP68J6gGwZIFPJOjlubJsiNl6Tqfiz0rNl6lQ942/dnt7g4yALeoOUHT09FPJPSzdORWP9ocRNQcpRis1DVADjsk0vqN7jfaoaqWRGQPUk4=,iv:cynOU+rArLUV4esBy0RDKHT5icdDjqDQ2gUfQQi1Sh0=,tag:GzJk7cQ3vmNjf2gJkXtMGQ==,type:str]
pgp:
- created_at: "2023-02-25T23:44:24Z"
enc: |-

View file

@ -11,6 +11,7 @@
./neovim
./qutebrowser
./sops
./spotify
./ssh
./tmux
./vifm

View file

@ -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)

View file

@ -46,7 +46,6 @@
# misc
neofetch # obligatory
#spotify # make probles atm
virt-manager
ventoy-bin

View 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";
};
};
};
}

View file

@ -5,6 +5,9 @@
shellAliases = {
rm = "trash";
ls = "exa --icons";
l = "ls -l";
ll = "ls -la";
la = "ls -a";
};
history = {
size = 10000;