fix
This commit is contained in:
parent
75f8b9fa71
commit
5c6bb2745d
|
@ -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.
|
||||
|
|
12
flake.nix
12
flake.nix
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
Loading…
Reference in a new issue