Compare commits

..

No commits in common. "379ec5badd75c0e09d6154ac7f9b7d35e3994f34" and "38d581529181dd37a9b5d02d66214bac78348a4c" have entirely different histories.

3 changed files with 25 additions and 21 deletions

View File

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

View File

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

View File

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