Compare commits
No commits in common. "71c4871af07e9657b8f1af6c8034a2c858323fe6" and "fbf1670bf924ddd35909592b19d7086e2fe17c0e" have entirely different histories.
71c4871af0
...
fbf1670bf9
|
@ -3,6 +3,5 @@
|
|||
home.sessionPath = [
|
||||
"${config.xdg.configHome}/emacs/bin"
|
||||
"${config.home.homeDirectory}/.cargo/bin"
|
||||
"${config.home.homeDirectory}/.local/bin"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -22,12 +22,6 @@ in
|
|||
settings = i3BarTheme;
|
||||
|
||||
blocks = [
|
||||
{
|
||||
block = "pomodoro";
|
||||
length = 60;
|
||||
break_length = 10;
|
||||
use_nag = true;
|
||||
}
|
||||
{
|
||||
block = "disk_space";
|
||||
path = "/";
|
||||
|
@ -75,12 +69,6 @@ in
|
|||
# TODO: use format when i3status-rust updates to v0.20
|
||||
# format = "{percentage}";
|
||||
}
|
||||
{
|
||||
block = "music";
|
||||
player = "spotify";
|
||||
buttons = ["prev" "play" "next"];
|
||||
hide_when_empty = true;
|
||||
}
|
||||
{
|
||||
block = "sound";
|
||||
driver = "pulseaudio";
|
||||
|
|
|
@ -47,14 +47,6 @@ in
|
|||
borg-backup = {
|
||||
enable = true;
|
||||
repo = secrets.borg-backup.boreal-repo;
|
||||
# for a workstation, having backups spanning the last month should be
|
||||
# enough
|
||||
prune = {
|
||||
keep = {
|
||||
daily = 7;
|
||||
weekly = 4;
|
||||
};
|
||||
};
|
||||
paths = [
|
||||
"/home/alarsyo"
|
||||
];
|
||||
|
|
|
@ -14,18 +14,6 @@ in {
|
|||
description = "Borgbase repo info. Required.";
|
||||
};
|
||||
|
||||
prune = mkOption {
|
||||
type = types.attrs;
|
||||
default = {
|
||||
keep = {
|
||||
daily = 7;
|
||||
weekly = 4;
|
||||
monthly = 6;
|
||||
};
|
||||
};
|
||||
description = "pruning options for borg";
|
||||
};
|
||||
|
||||
paths = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
|
@ -69,7 +57,11 @@ in {
|
|||
doInit = true;
|
||||
compression = "auto,zstd";
|
||||
startAt = "daily";
|
||||
prune = cfg.prune;
|
||||
prune.keep = {
|
||||
daily = 7;
|
||||
weekly = 4;
|
||||
monthly = 6;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue