fix
This commit is contained in:
parent
75f8b9fa71
commit
5c6bb2745d
|
@ -1,3 +1,3 @@
|
||||||
# ❄️ puter
|
# ❄️ 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;})
|
({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
|
in
|
||||||
nixpkgs.lib.genAttrs [
|
genHosts commonNixosSystem;
|
||||||
"abacus"
|
|
||||||
"vessel"
|
|
||||||
]
|
|
||||||
commonNixosSystem;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
perSystem = {
|
perSystem = {
|
||||||
|
|
|
@ -2,11 +2,7 @@
|
||||||
inherit (config.networking) domain;
|
inherit (config.networking) domain;
|
||||||
virtualHostName = "flux.${domain}";
|
virtualHostName = "flux.${domain}";
|
||||||
in {
|
in {
|
||||||
age.secrets.miniflux = {
|
age.secrets.miniflux.file = ../../secrets/miniflux.age;
|
||||||
file = ../../secrets/miniflux.age;
|
|
||||||
# owner = config.systemd.services.miniflux.serviceConfig.User;
|
|
||||||
# group = "root";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.miniflux = {
|
services.miniflux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -3,11 +3,7 @@
|
||||||
virtualHostName = "vault.${domain}";
|
virtualHostName = "vault.${domain}";
|
||||||
backupDir = "/srv/backup/vaultwarden";
|
backupDir = "/srv/backup/vaultwarden";
|
||||||
in {
|
in {
|
||||||
age.secrets.vaultwarden = {
|
age.secrets.vaultwarden.file = ../../secrets/vaultwarden.age;
|
||||||
file = ../../secrets/vaultwarden.age;
|
|
||||||
owner = config.systemd.services.vaultwarden.serviceConfig.User;
|
|
||||||
group = config.systemd.services.vaultwarden.serviceConfig.Group;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue