Move Nix files back to the root of the project
This commit is contained in:
parent
52044d9995
commit
087153a16d
223 changed files with 12 additions and 12 deletions
60
hosts/nixedo/configuration.nix
Normal file
60
hosts/nixedo/configuration.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./secrets.nix
|
||||
./modules/acme.nix
|
||||
|
||||
../common
|
||||
../../users/git
|
||||
../../users/opdavies
|
||||
];
|
||||
|
||||
nixosModules = {
|
||||
audiobookshelf.enable = true;
|
||||
beaverhabits.enable = true;
|
||||
docker.enable = true;
|
||||
dwm.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;
|
||||
};
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
|
||||
systemd-boot.enable = true;
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
users.groups.media = { };
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
|
||||
services.caddy.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue