Configure last.fm scrobbling
This commit is contained in:
parent
4fd343af3a
commit
75ba62d3d7
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, nixosConfig, lib, pkgs, inputs, ... }:
|
||||||
let
|
let
|
||||||
unstable = import inputs.nixpkgs-unstable {
|
unstable = import inputs.nixpkgs-unstable {
|
||||||
config = { allowUnfree = true; };
|
config = { allowUnfree = true; };
|
||||||
|
@ -44,6 +44,7 @@ in {
|
||||||
};
|
};
|
||||||
mpd = { enabled = true; };
|
mpd = { enabled = true; };
|
||||||
};
|
};
|
||||||
|
extraConfigFiles = [ nixosConfig.sops.secrets."last.fm".path ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,12 @@
|
||||||
sopsFile = ../../secrets/levitation/windows.yaml;
|
sopsFile = ../../secrets/levitation/windows.yaml;
|
||||||
format = "yaml";
|
format = "yaml";
|
||||||
};
|
};
|
||||||
|
"last.fm" = {
|
||||||
|
sopsFile = ../../secrets/levitation/last.fm;
|
||||||
|
format = "binary";
|
||||||
|
owner = "nathan";
|
||||||
|
mode = "0400";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
# Setup system configuration
|
# Setup system configuration
|
||||||
nathan = {
|
nathan = {
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"data": "ENC[AES256_GCM,data:U8e2jqh0/BSJjFc1rqhtOYdhsOdPmVmXtZpKizAcQNwU4k8mS8LWOoVevmOuoqxxiWleTNhgvVOaQj1bSEKNTHqbJ+DqYtw3P4D86x8xWVsaPZpnZmKOu2+4JJlcpcdwARHC9R+J67vY+0+2fgtx,iv:JnBuvGu15rv8dleYrN0sZk2NP4ZqDSOGzeoSFAWZhvY=,tag:Jv7ljUoizMOVpP0X7ONwKw==,type:str]",
|
||||||
|
"sops": {
|
||||||
|
"kms": null,
|
||||||
|
"gcp_kms": null,
|
||||||
|
"azure_kv": null,
|
||||||
|
"hc_vault": null,
|
||||||
|
"age": [
|
||||||
|
{
|
||||||
|
"recipient": "age1ud80054jwf6ff7xx65ta6g7qxx2flc24r5gyyfjz43kvppjutqyskr2qm2",
|
||||||
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBjZjF0eG40ekJGK3luR0x2\ncHk5djdya2xBSnlCRjAxMzYzcldNaTRpSVFFCmxpdWJmOFZGbERFcWc0VXpmMnp5\nMW0wcEtDZHMrMWgzVEpaY05JdlFBRVkKLS0tIEFLSXZxRWNuMGwyUXJCbS8vK1Zo\nUHhCSzlKQ1JNTVNoYTZOZE9rMXhaMjQKc1Tzcxrrw3B1TItnbr3rbenXw1vVWPwO\nnrMiGVvxmjT9wvllAPvK9PXI1gKQPv3OiO10EAtAuJAocyurxCXKPA==\n-----END AGE ENCRYPTED FILE-----\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"recipient": "age1tsq68swufcjq6qavqpzrtse4474p5gs58v6qp6w7gum49yz45cgsegxhuw",
|
||||||
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBiRXVuMTExMzFjcWRRM2FH\nV1YrT1MyUitzWjNmamorYlg4aWpEVytRT21NCmxIaVdSNERUQmtrYlpZQzNVRXRP\nU096cTlZWWtGeFFZeXZkUkFJZjJJOFkKLS0tIEVnYWY2ZDk2QXBXWEE5amtpQmlo\ncjdoZ0Yvb0pOdVVhbUdDY0tXM2FrTTgKe1QDVFA9Dz1YYNU1MUGdslqW9pOywxH1\nyTYRLyooVlbJcIJmFnldBeFlnnblWUAwDMxy/lWT2KO7//rjLvZoKw==\n-----END AGE ENCRYPTED FILE-----\n"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"lastmodified": "2023-02-13T02:52:51Z",
|
||||||
|
"mac": "ENC[AES256_GCM,data:r+1sAP6SdKKJwyYc7S7finbt/le/vNWVS83uGSCjVn2Ag0b49emamwKXHdtroQcnW7FI2qDlVXUvDqogQfC/Sng0i1XXx/lGKIOEm4J4/BN5gUcqO6VfFykhojPDZzAvelpkgzg56tNVynfhbxD+KCbNuKp82GN6IQRInA5V5+g=,iv:2I63N9Y4P7yZHVGzLEf3nnW9ALCyP4X3rtFJqWV/+m4=,tag:sF5zFZ2GU8jWefRQ43pMcA==,type:str]",
|
||||||
|
"pgp": null,
|
||||||
|
"unencrypted_suffix": "_unencrypted",
|
||||||
|
"version": "3.7.3"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue