more agenix

This commit is contained in:
Simon Gardling 2024-09-15 13:31:57 -04:00
parent f3d47705d8
commit 17e11738d8
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
7 changed files with 47 additions and 12 deletions

View File

@ -153,11 +153,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1726404066, "lastModified": 1726415038,
"narHash": "sha256-Yt438MuAaZ3DEdRcY2qA3V/L2xCG4MoxR1ROv5PmTGU=", "narHash": "sha256-7fptKhYd09J570OF6NQxqun21A/dFPAq+hybtbURgEU=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "ed6c5c478bf87eddc276b192100cc16e76172383", "rev": "c2f2fb469a999d3334523a157dfca025b9cea5d8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -186,11 +186,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1726304152, "lastModified": 1726412705,
"narHash": "sha256-4YDrKMwXGVOBkeaISbxqf24rLuHvO98TnqxWYfgiSeg=", "narHash": "sha256-qRqGbvTpGRn3QhvjOyX0Sn/qPT1bLQUSSHz1vlW/7HE=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "6a48728ffb1e638839b07f9ab2f06b2adb41dc61", "rev": "6ee5b5afa784c76b1c31c371b59177136e558fa6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -9,7 +9,7 @@
{ {
imports = [ imports = [
./no-gui.nix ./no-gui.nix
./progs/librewolf.nix # ./progs/librewolf.nix
]; ];
nixpkgs.config.allowUnfreePredicate = nixpkgs.config.allowUnfreePredicate =
@ -29,7 +29,7 @@
gnome-calculator gnome-calculator
#productivity stuff #productivity stuff
libreoffice # libreoffice
hunspell # spellcheck hunspell # spellcheck
hunspellDicts.en_US # spellcheck dictionary hunspellDicts.en_US # spellcheck dictionary

View File

@ -1,4 +1,4 @@
{ homeDirectory }: { homeDirectory, borgPasswordFile }:
{ {
home = { home = {
location = { location = {
@ -32,8 +32,7 @@
}; };
storage = { storage = {
#super secret password location (maybe I should find a way to store secrets properly) encryptionPasscommand = "cat ${borgPasswordFile}";
encryptionPasscommand = "cat ${homeDirectory}/Documents/secrets/borg_bak_pass";
}; };
}; };
} }

View File

@ -0,0 +1,10 @@
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¼ìT0|`Hö”à>`æbª.å XãG«<47>Xs1ãn.µï$×o

View File

@ -7,4 +7,12 @@ in
laptop laptop
desktop desktop
]; ];
"server-password.age".publicKeys = [
laptop
desktop
];
"borg-laptop-password.age".publicKeys = [
laptop
desktop
];
} }

View File

@ -0,0 +1,9 @@
age-encryption.org/v1
-> ssh-ed25519 JlUYaQ u9duGBEW7wp7aG5cqd1gfB8w+MDAirki9ZVSsotqtRM
9gyL9k29ytNJZ6Kp90309bDim1fZNqcLhPTVqs1py5s
-> ssh-ed25519 dHDJgQ ytHA01CSY/0dD6F8XC9ilzNaivZS84PsCmr5GFWAE1o
4jLi+spahOIExkrUyfpX8cYJFEKvWfErWskYJ2btBkw
-> Q-grease
n1QvV95VRYZ7CiOl6KOedEKr2L7tjTdj8aahF/DHOifCyWnc
--- iV/7+IbpWvsgrZIs2yPwOL0Xa6AlvkIfwbDotCh7iiQ
‡'<27>h¸2¬¾ÚmÊêY¸´iuáL/D*<2A>àƒ :•@Í;f 9…v{×À2aÇ«ÝÕÿÞ&³

View File

@ -39,11 +39,20 @@
#waybar for status bar #waybar for status bar
programs.waybar = import ./progs/waybar.nix { inherit pkgs; }; programs.waybar = import ./progs/waybar.nix { inherit pkgs; };
age.secrets.borg-laptop-password = {
file = ./secrets/borg-laptop-password.age;
path = "${homeDirectory}/.secrets/borg_bak_pass";
};
#backup utility #backup utility
programs.borgmatic = { programs.borgmatic = {
enable = true; enable = true;
package = pkgs.borgmatic; package = pkgs.borgmatic;
backups = import ./progs/borg.nix { inherit homeDirectory; }; backups =
let
borgPasswordFile = config.age.secrets.borg-laptop-password.path;
in
import ./progs/borg.nix { inherit homeDirectory borgPasswordFile; };
}; };
# https://community.frame.work/t/speakers-sound-quality/1078/83 # https://community.frame.work/t/speakers-sound-quality/1078/83