Compare commits

..

2 commits

Author SHA1 Message Date
Casper V. Kristensen 9ad4b4c27e borg: sigma 2024-04-21 17:12:52 +02:00
Casper V. Kristensen 5bc25fa3c8 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/1c43dcfac48a2d622797f7ab741670fdbcf8f609' (2024-04-15)
  → 'github:nix-community/home-manager/ad83c154bdfedad9807e86dd0633729ea3b116c5' (2024-04-21)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/93aed67288be60c9ef6133ba2f8de128f4ef265c' (2024-04-14)
  → 'github:nix-community/nix-index-database/07ece11b22217b8459df589f858e92212b74f1a1' (2024-04-21)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/f58b25254be441cd2a9b4b444ed83f1e51244f1f' (2024-04-12)
  → 'github:NixOS/nixos-hardware/5d48925b815fd202781bfae8fb6f45c07112fdb2' (2024-04-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/53a2c32bc66f5ae41a28d7a9a49d321172af621e' (2024-04-15)
  → 'github:NixOS/nixpkgs/bc194f70731cc5d2b046a6c1b3b15f170f05999c' (2024-04-19)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/cfd6b5fc90b15709b780a5a1619695a88505a176' (2024-04-12)
  → 'github:NixOS/nixpkgs/5c24cf2f0a12ad855f444c30b2421d044120c66f' (2024-04-19)
• Updated input 'secrets':
    'git+ssh://git@git.caspervk.net/caspervk/nixos-secrets.git?ref=refs/heads/master&rev=17e318fd2ae0272999e89a43279298517b9444b4' (2024-04-15)
  → 'git+ssh://git@git.caspervk.net/caspervk/nixos-secrets.git?ref=refs/heads/master&rev=a6b507f63eab448deaaa2c91fac3dd33671a1e7d' (2024-04-21)
2024-04-21 17:12:45 +02:00
3 changed files with 34 additions and 20 deletions

View file

@ -53,11 +53,11 @@
]
},
"locked": {
"lastModified": 1713166971,
"narHash": "sha256-t0P/rKlsE5l1O3O2LYtAelLzp7PeoPCSzsIietQ1hSM=",
"lastModified": 1713707619,
"narHash": "sha256-g73hSx1osp8G7pbFQbiz7OCosAogf0WrLSOWyEF+F9M=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1c43dcfac48a2d622797f7ab741670fdbcf8f609",
"rev": "ad83c154bdfedad9807e86dd0633729ea3b116c5",
"type": "github"
},
"original": {
@ -89,11 +89,11 @@
]
},
"locked": {
"lastModified": 1713067146,
"narHash": "sha256-9D20xjblGKEVRVCnM3qWhiizEa9i6OpK6xQJajwcwOQ=",
"lastModified": 1713668931,
"narHash": "sha256-rVlwWQlgFGGK3aPVcKmtYqWgjYnPah5FOIsYAqrMN2w=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "93aed67288be60c9ef6133ba2f8de128f4ef265c",
"rev": "07ece11b22217b8459df589f858e92212b74f1a1",
"type": "github"
},
"original": {
@ -104,11 +104,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1712909959,
"narHash": "sha256-7/5ubuwdEbQ7Z+Vqd4u0mM5L2VMNDsBh54visp27CtQ=",
"lastModified": 1713521961,
"narHash": "sha256-EwR8wW9AqJhSIY+0oxWRybUZ32BVKuZ9bjlRh8SJvQ8=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "f58b25254be441cd2a9b4b444ed83f1e51244f1f",
"rev": "5d48925b815fd202781bfae8fb6f45c07112fdb2",
"type": "github"
},
"original": {
@ -120,11 +120,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1713145326,
"narHash": "sha256-m7+IWM6mkWOg22EC5kRUFCycXsXLSU7hWmHdmBfmC3s=",
"lastModified": 1713564160,
"narHash": "sha256-YguPZpiejgzLEcO36/SZULjJQ55iWcjAmf3lYiyV1Fo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "53a2c32bc66f5ae41a28d7a9a49d321172af621e",
"rev": "bc194f70731cc5d2b046a6c1b3b15f170f05999c",
"type": "github"
},
"original": {
@ -136,11 +136,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
"lastModified": 1713537308,
"narHash": "sha256-XtTSSIB2DA6tOv+l0FhvfDMiyCmhoRbNB+0SeInZkbk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cfd6b5fc90b15709b780a5a1619695a88505a176",
"rev": "5c24cf2f0a12ad855f444c30b2421d044120c66f",
"type": "github"
},
"original": {
@ -165,11 +165,11 @@
},
"secrets": {
"locked": {
"lastModified": 1713224959,
"narHash": "sha256-WnZVnnu1L/PyODRrjwU/K4xcJx4HlCX72Dm3KBzgSA0=",
"lastModified": 1713712284,
"narHash": "sha256-tmE27zSZ2/b1hahAjUoL0QP3fMTd4jN5+V+5L4bB0rI=",
"ref": "refs/heads/master",
"rev": "17e318fd2ae0272999e89a43279298517b9444b4",
"revCount": 17,
"rev": "a6b507f63eab448deaaa2c91fac3dd33671a1e7d",
"revCount": 19,
"type": "git",
"url": "ssh://git@git.caspervk.net/caspervk/nixos-secrets.git"
},

14
hosts/sigma/borg.nix Normal file
View file

@ -0,0 +1,14 @@
{secrets, ...}: {
imports = [
../../modules/borg.nix
];
services.borgbackup.jobs.root.repo = "ssh://u394155-sub3@u394155.your-storagebox.de:23/./root";
age.secrets.borg-passphrase-file = {
file = "${secrets}/secrets/borg-passphrase-file-sigma.age";
mode = "400";
owner = "root";
group = "root";
};
}

View file

@ -4,7 +4,7 @@
../../modules/base
../../modules/server
./acme.nix
#./borg.nix TODO!
./borg.nix
./caddy.nix
./gitea.nix
./hardware.nix