Compare commits

...

2 Commits

Author SHA1 Message Date
379ec5badd
Disable ZnapZend remote until it's fixed 2020-06-01 19:39:12 +02:00
fd6d86cdef
Set up mopidy extensions 2020-06-01 19:38:59 +02:00
3 changed files with 21 additions and 25 deletions

View File

@ -1,6 +1,10 @@
{ config, lib, pkgs, ... }:
{
let
soundcloud_token =
builtins.readFile /home/coolneng/.config/mopidy/soundcloud-auth;
in {
# Enable ALSA
sound.enable = true;
@ -18,9 +22,9 @@
enable = true;
extensionPackages = [
pkgs.mopidy-mpd
# pkgs.mopidy-soundcloud
# pkgs.mopidy-youtube
# pkgs.mopidy-somafm
pkgs.mopidy-soundcloud
pkgs.mopidy-youtube
pkgs.mopidy-somafm
];
configuration = ''
[audio]
@ -50,6 +54,7 @@
[soundcloud]
enabled = false
auth_token = ${soundcloud_token}
[m3u]
playlists_dir = /home/coolneng/.config/mpd/playlists

View File

@ -11,23 +11,15 @@
};
zetup = {
"syscea/stateful/root" = {
plan = "1d=>1h,1m=>1d,1y=>1m";
plan = "1day=>1hour,1month=>1day,1year=>1month";
recursive = true;
mbuffer.enable = true;
destinations.remote = {
host = "coolneng@zion";
dataset = "vault/backups/panacea/root";
};
};
"syscea/stateful/home" = {
plan = "1d=>1h,1m=>1d,1y=>1m";
plan = "1day=>1hour,1month=>1day,1year=>1month";
recursive = true;
mbuffer.enable = true;
destinations.remote = {
host = "coolneng@zion";
dataset = "vault/backups/panacea/home";
};
};
};
};
@ -39,7 +31,10 @@
dataDir = "/home/coolneng";
declarative = {
devices = {
zion = { id = "XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU"; };
zion = {
id =
"XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU";
};
};
folders = {
Documents = {
@ -48,9 +43,7 @@
devices = [ "zion" ];
versioning = {
type = "simple";
params = {
keep = "5";
};
params = { keep = "5"; };
};
};
@ -60,9 +53,7 @@
devices = [ "zion" ];
versioning = {
type = "simple";
params = {
keep = "5";
};
params = { keep = "5"; };
};
};

View File

@ -6,7 +6,7 @@
# Enable virtualisation
virtualisation.libvirtd = {
enable = false;
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemuPackage = pkgs.qemu_kvm;