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, ... }:
let
soundcloud_token =
builtins.readFile /home/coolneng/.config/mopidy/soundcloud-auth;
in {
{
# Enable ALSA
sound.enable = true;
@ -22,9 +18,9 @@ in {
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]
@ -54,7 +50,6 @@ in {
[soundcloud]
enabled = false
auth_token = ${soundcloud_token}
[m3u]
playlists_dir = /home/coolneng/.config/mpd/playlists

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{
# ZFS automatic backup solution
# ZFS automatic backup solution
services.znapzend = {
enable = true;
autoCreation = true;
@ -11,16 +11,24 @@
};
zetup = {
"syscea/stateful/root" = {
plan = "1day=>1hour,1month=>1day,1year=>1month";
plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true;
mbuffer.enable = true;
};
destinations.remote = {
host = "coolneng@zion";
dataset = "vault/backups/panacea/root";
};
};
"syscea/stateful/home" = {
plan = "1day=>1hour,1month=>1day,1year=>1month";
plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true;
mbuffer.enable = true;
};
destinations.remote = {
host = "coolneng@zion";
dataset = "vault/backups/panacea/home";
};
};
};
};
@ -31,10 +39,7 @@
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 = {
@ -43,7 +48,9 @@
devices = [ "zion" ];
versioning = {
type = "simple";
params = { keep = "5"; };
params = {
keep = "5";
};
};
};
@ -53,7 +60,9 @@
devices = [ "zion" ];
versioning = {
type = "simple";
params = { keep = "5"; };
params = {
keep = "5";
};
};
};

View File

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