This commit is contained in:
Lukas Wurzinger 2024-08-18 20:11:43 +02:00
parent 75f8b9fa71
commit 5c6bb2745d
5 changed files with 10 additions and 16 deletions

View file

@ -1,3 +1,3 @@
# ❄️ puter
This is my NixOS configuration. There are many like it, but this one is mine. Copy at your own risk.
This is my cobbled together NixOS configuration. There are many like it, but this one is mine. Copy at your own risk.

View file

@ -34,12 +34,14 @@
({lib, ...}: {networking.hostName = lib.mkDefault name;})
];
};
genHosts = (nixpkgs.lib.pipe (builtins.readDir ./hosts) [
(nixpkgs.lib.filterAttrs (name: type: type == "directory" && name != "default.nix"))
builtins.attrNames
nixpkgs.lib.genAttrs
]);
in
nixpkgs.lib.genAttrs [
"abacus"
"vessel"
]
commonNixosSystem;
genHosts commonNixosSystem;
};
perSystem = {

View file

@ -2,11 +2,7 @@
inherit (config.networking) domain;
virtualHostName = "flux.${domain}";
in {
age.secrets.miniflux = {
file = ../../secrets/miniflux.age;
# owner = config.systemd.services.miniflux.serviceConfig.User;
# group = "root";
};
age.secrets.miniflux.file = ../../secrets/miniflux.age;
services.miniflux = {
enable = true;

View file

@ -3,11 +3,7 @@
virtualHostName = "vault.${domain}";
backupDir = "/srv/backup/vaultwarden";
in {
age.secrets.vaultwarden = {
file = ../../secrets/vaultwarden.age;
owner = config.systemd.services.vaultwarden.serviceConfig.User;
group = config.systemd.services.vaultwarden.serviceConfig.Group;
};
age.secrets.vaultwarden.file = ../../secrets/vaultwarden.age;
services.vaultwarden = {
enable = true;

Binary file not shown.