Restructure NixOS host configuration files
This commit is contained in:
parent
9ea5655669
commit
f92ad2b5ab
10 changed files with 70 additions and 114 deletions
|
@ -6,11 +6,35 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
../common
|
||||
../../users/opdavies
|
||||
|
||||
./hardware-configuration.nix
|
||||
./secrets.nix
|
||||
|
||||
./modules/acme.nix
|
||||
];
|
||||
|
||||
features = {
|
||||
cli = {
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
homelab = {
|
||||
audiobookshelf.enable = true;
|
||||
beaverhabits.enable = true;
|
||||
forgejo.enable = true;
|
||||
freshrss.enable = true;
|
||||
gitea.enable = true;
|
||||
immich.enable = true;
|
||||
jellyfin.enable = true;
|
||||
paperless.enable = true;
|
||||
pihole.enable = true;
|
||||
tubearchivist-container.enable = true;
|
||||
vaultwarden.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
|
||||
boot.loader = {
|
||||
|
@ -34,4 +58,12 @@
|
|||
];
|
||||
|
||||
services.caddy.enable = true;
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
|
||||
age.identityPaths = [
|
||||
"/home/opdavies/.ssh/id_rsa"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
features = {
|
||||
cli = {
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
homelab = {
|
||||
audiobookshelf.enable = true;
|
||||
beaverhabits.enable = true;
|
||||
forgejo.enable = true;
|
||||
freshrss.enable = true;
|
||||
gitea.enable = true;
|
||||
immich.enable = true;
|
||||
jellyfin.enable = true;
|
||||
paperless.enable = true;
|
||||
pihole.enable = true;
|
||||
tubearchivist-container.enable = true;
|
||||
vaultwarden.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
../common
|
||||
../../users/opdavies
|
||||
|
||||
./configuration.nix
|
||||
./secrets.nix
|
||||
./extra.nix
|
||||
];
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
programs.dconf.enable = true;
|
||||
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
|
||||
age.identityPaths = [
|
||||
"/home/opdavies/.ssh/id_rsa"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue