working on backups
This commit is contained in:
parent
52967f6de2
commit
870f29519f
3 changed files with 74 additions and 81 deletions
12
flake.lock
generated
12
flake.lock
generated
|
@ -785,11 +785,11 @@
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747980132,
|
"lastModified": 1748033637,
|
||||||
"narHash": "sha256-jdQZZDMYl9JBtWupRRneP1NLDylf2KPUu8z72tJVBJI=",
|
"narHash": "sha256-TetDbakvubacirX9JTzrZ8FePtT8taVv53sbqY61t38=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "d5ccd8c5e6198bdac760ea65dd6c46e83a55b6f6",
|
"rev": "262837d8190629c4af723e35a7f2a3f49d1afb26",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -818,11 +818,11 @@
|
||||||
"niri-unstable": {
|
"niri-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747977864,
|
"lastModified": 1748030931,
|
||||||
"narHash": "sha256-BEXi6zHNguEsBD3TIUk/2EMOh5c4Z664UaDeUYpWDhw=",
|
"narHash": "sha256-34Y9mI/IN9eWZm6v1wQS+TUw1BK9Ed5XBWe8lrVu6RE=",
|
||||||
"owner": "YaLTeR",
|
"owner": "YaLTeR",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"rev": "7fdb918cd04076b173a38f026dc5c27ac830b028",
|
"rev": "a605a3f016769ba2fd7e2147fe05c9ac3707f973",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -91,42 +91,9 @@ in
|
||||||
rclone = {
|
rclone = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
borgmatic = {
|
|
||||||
enable = true;
|
|
||||||
backups = {
|
|
||||||
eddie = {
|
|
||||||
location = {
|
|
||||||
patterns = [
|
|
||||||
"R /home/emenel"
|
|
||||||
"- home/emenel/.cache"
|
|
||||||
"- home/emenel/.nix*"
|
|
||||||
"- home/emenel/.steam*"
|
|
||||||
"- home/emenel/Sync"
|
|
||||||
"- home/emenel/.BitwigStudio"
|
|
||||||
"- home/emenel/.local/share/bitwig"
|
|
||||||
];
|
|
||||||
repositories = [
|
|
||||||
{
|
|
||||||
"path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
|
||||||
"label" = "eddie on borgbase";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
retention = {
|
|
||||||
keepDaily = 3;
|
|
||||||
keepHourly = 3;
|
|
||||||
keepMonthly = 2;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
borgmatic = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
gpg-agent = {
|
gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -64,9 +64,9 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# registry = {
|
# registry = {
|
||||||
# emenel-templates.flake = inputs.emenel-templates;
|
# emenel-templates.flake = inputs.emenel-templates;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
|
channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
|
||||||
};
|
};
|
||||||
|
@ -84,42 +84,42 @@
|
||||||
let
|
let
|
||||||
theme = palette.toRgbShortHex pkgs.rice.colorPalette;
|
theme = palette.toRgbShortHex pkgs.rice.colorPalette;
|
||||||
in
|
in
|
||||||
with theme;
|
with theme;
|
||||||
[
|
[
|
||||||
# normal.black
|
# normal.black
|
||||||
# normal.red
|
# normal.red
|
||||||
# normal.green
|
# normal.green
|
||||||
# normal.yellow
|
# normal.yellow
|
||||||
# normal.blue
|
# normal.blue
|
||||||
# normal.magenta
|
# normal.magenta
|
||||||
# normal.cyan
|
# normal.cyan
|
||||||
# normal.white
|
# normal.white
|
||||||
# bright.black
|
# bright.black
|
||||||
# bright.red
|
# bright.red
|
||||||
# bright.green
|
# bright.green
|
||||||
# bright.yellow
|
# bright.yellow
|
||||||
# bright.blue
|
# bright.blue
|
||||||
# bright.magenta
|
# bright.magenta
|
||||||
# bright.cyan
|
# bright.cyan
|
||||||
# bright.white
|
# bright.white
|
||||||
|
|
||||||
"111111"
|
"111111"
|
||||||
"e06c75"
|
"e06c75"
|
||||||
"98c379"
|
"98c379"
|
||||||
"e5c07b"
|
"e5c07b"
|
||||||
"61afef"
|
"61afef"
|
||||||
"c678dd"
|
"c678dd"
|
||||||
"56b6c2"
|
"56b6c2"
|
||||||
"abb2bf"
|
"abb2bf"
|
||||||
"545862"
|
"545862"
|
||||||
"e06c75"
|
"e06c75"
|
||||||
"98c379"
|
"98c379"
|
||||||
"e5c07b"
|
"e5c07b"
|
||||||
"61afef"
|
"61afef"
|
||||||
"c678dd"
|
"c678dd"
|
||||||
"56b6c2"
|
"56b6c2"
|
||||||
"c8ccd4"
|
"c8ccd4"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -614,10 +614,36 @@
|
||||||
|
|
||||||
users.groups.uinput = { };
|
users.groups.uinput = { };
|
||||||
|
|
||||||
|
services.borgmatic = {
|
||||||
|
enable = true;
|
||||||
|
configurations = {
|
||||||
|
eddie = {
|
||||||
|
patterns = [
|
||||||
|
"R /home/emenel"
|
||||||
|
"- .cache"
|
||||||
|
"- .nix*"
|
||||||
|
"- .steam*"
|
||||||
|
"- Sync"
|
||||||
|
"- Mounts"
|
||||||
|
"- .BitwigStudio"
|
||||||
|
"- .local/share/bitwig"
|
||||||
|
"- .local/share/flatpak"
|
||||||
|
];
|
||||||
|
repositories = [
|
||||||
|
{
|
||||||
|
"path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
||||||
|
"label" = "eddie on borgbase";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
keep_daily = 3;
|
||||||
|
keep_hourly = 3;
|
||||||
|
keep_monthly = 2;
|
||||||
|
# btrfs = {
|
||||||
|
# btrfs_command = "${pkgs.btrfs-progs}/bin/btrfs";
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
#do not change
|
#do not change
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue