remove agenix
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
|
||||
# notification daemon
|
||||
./progs/dunst.nix
|
||||
|
||||
./progs/borg.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
@@ -40,21 +42,6 @@
|
||||
Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
|
||||
};
|
||||
|
||||
age.secrets.borg-laptop-password = {
|
||||
file = ./secrets/borg-laptop-password.age;
|
||||
path = "${homeDirectory}/.secrets/borg_bak_pass";
|
||||
};
|
||||
|
||||
# backup utility
|
||||
programs.borgmatic = {
|
||||
enable = true;
|
||||
package = pkgs.borgmatic;
|
||||
backups = import ./progs/borg.nix {
|
||||
borgPasswordFile = config.age.secrets.borg-laptop-password.path;
|
||||
inherit homeDirectory;
|
||||
};
|
||||
};
|
||||
|
||||
programs.niri.settings.outputs = {
|
||||
"BOE 0x095F Unknown" = {
|
||||
scale = 1.5;
|
||||
|
||||
@@ -100,7 +100,6 @@ in
|
||||
imports = [
|
||||
./progs/fish.nix
|
||||
./progs/helix.nix
|
||||
inputs.agenix.homeManagerModules.age
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
@@ -171,7 +170,6 @@ in
|
||||
clang
|
||||
gdb
|
||||
|
||||
age
|
||||
git-crypt
|
||||
|
||||
imagemagick
|
||||
|
||||
@@ -1,51 +1,53 @@
|
||||
{ homeDirectory, borgPasswordFile }:
|
||||
{ pkgs, homeDirectory, ... }:
|
||||
{
|
||||
programs.borgmatic = {
|
||||
enable = true;
|
||||
package = pkgs.borgmatic;
|
||||
backups = {
|
||||
|
||||
home = {
|
||||
location = {
|
||||
sourceDirectories = (
|
||||
map (f: "${homeDirectory}/${f}") [
|
||||
".zen"
|
||||
".local/share/fish"
|
||||
".ssh"
|
||||
"Documents"
|
||||
"projects"
|
||||
"Pictures"
|
||||
"school"
|
||||
]
|
||||
++ (map (f: ".config/Signal/${f}") [
|
||||
"stickers.noindex"
|
||||
"attachments.noindex"
|
||||
"downloads.noindex"
|
||||
"drafts.noindex"
|
||||
"sql"
|
||||
"IndexedDB"
|
||||
"Local Storage"
|
||||
"SharedStorage"
|
||||
"config.json"
|
||||
"ephemeral.json"
|
||||
"Preferences"
|
||||
])
|
||||
);
|
||||
home = {
|
||||
location = {
|
||||
sourceDirectories = (
|
||||
map (f: "${homeDirectory}/${f}") [
|
||||
".zen"
|
||||
".local/share/fish"
|
||||
".ssh"
|
||||
"Documents"
|
||||
"projects"
|
||||
"Pictures"
|
||||
"school"
|
||||
]
|
||||
++ (map (f: ".config/Signal/${f}") [
|
||||
"stickers.noindex"
|
||||
"attachments.noindex"
|
||||
"downloads.noindex"
|
||||
"drafts.noindex"
|
||||
"sql"
|
||||
"IndexedDB"
|
||||
"Local Storage"
|
||||
"SharedStorage"
|
||||
"config.json"
|
||||
"ephemeral.json"
|
||||
"Preferences"
|
||||
])
|
||||
);
|
||||
|
||||
excludeHomeManagerSymlinks = true;
|
||||
repositories = [ "ssh://server-public/tank/bak/laptop" ];
|
||||
excludeHomeManagerSymlinks = true;
|
||||
repositories = [ "ssh://server-public/tank/bak/laptop" ];
|
||||
|
||||
extraConfig = {
|
||||
compression = "zstd";
|
||||
extraConfig = {
|
||||
compression = "zstd";
|
||||
};
|
||||
};
|
||||
|
||||
retention = {
|
||||
keepHourly = 48;
|
||||
keepDaily = 30;
|
||||
keepWeekly = 26;
|
||||
keepMonthly = 24;
|
||||
keepYearly = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
retention = {
|
||||
keepHourly = 48;
|
||||
keepDaily = 30;
|
||||
keepWeekly = 26;
|
||||
keepMonthly = 24;
|
||||
keepYearly = 10;
|
||||
};
|
||||
|
||||
storage = {
|
||||
encryptionPasscommand = "cat ${borgPasswordFile}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
age-encryption.org/v1
|
||||
-> ssh-ed25519 JlUYaQ 0zR1i7aaaTiNatQ64adSfLAes3mxyErq3kZUziRInVc
|
||||
A8sfonsw2iodHRFsmYbmMNAviEUFSy9mkXuq6jefki8
|
||||
-> ssh-ed25519 dHDJgQ CmnVM06YvF+mzPNF1LsHdyL1hk+d/yH3HTBcdRlX/2c
|
||||
79u1EAd+g/Cmb9TzAifO4VHqJZk5T88nP4DWfsJEuIw
|
||||
-> >=ei241-grease co`|!7_c lx{qy
|
||||
A6d8YS1s8NZojKmRVWhmJDzOOFT/AEO/IRZN0LI30QP3jImoTJ4EFDQUm4p+0IWk
|
||||
dam3RKxF7XzF6dNigGDKKeIVXcSX1SiEgHyIo0+hPm2nZbM/p1IJ6fsACbTB6Q
|
||||
--- /Za+90oVP7/fGDLBRr6s56UopJjz8f851js/htBcYWA
|
||||
6e0Y<EFBFBD><EFBFBD>T0|`H<16><><EFBFBD>>`<60>b<>.<2E> X<>G<EFBFBD><47>Xs1<73>n.<1B><>$<1D>o
|
||||
@@ -1,16 +0,0 @@
|
||||
let
|
||||
laptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4jL6gYOunUlUtPvGdML0cpbKSsPNqQ1jit4E7U1RyH";
|
||||
desktop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBJjT5QZ3zRDb+V6Em20EYpSEgPW5e/U+06uQGJdraxi";
|
||||
in
|
||||
(builtins.listToAttrs (
|
||||
map
|
||||
(f: {
|
||||
f.publicKeys = [
|
||||
laptop
|
||||
desktop
|
||||
];
|
||||
})
|
||||
[
|
||||
"borg-laptop-password.age"
|
||||
]
|
||||
))
|
||||
Reference in New Issue
Block a user