Refactor back to a more modular configuration
This commit is contained in:
parent
19ea08a716
commit
2bedd41d83
178 changed files with 2245 additions and 1847 deletions
|
@ -2,35 +2,21 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = with inputs.self.nixosModules; [
|
||||
imports = [
|
||||
../common
|
||||
./hardware-configuration.nix
|
||||
./modules
|
||||
./secrets.nix
|
||||
|
||||
mixins-avahi
|
||||
mixins-common
|
||||
mixins-fzf
|
||||
mixins-openssh
|
||||
mixins-podman
|
||||
mixins-starship
|
||||
mixins-zsh
|
||||
|
||||
users-opdavies
|
||||
|
||||
./modules/acme.nix
|
||||
./modules/audiobookshelf.nix
|
||||
./modules/cloudflared.nix
|
||||
./modules/containers
|
||||
./modules/forgejo.nix
|
||||
./modules/immich.nix
|
||||
./modules/jellyfin.nix
|
||||
./modules/nginx
|
||||
./modules/paperless.nix
|
||||
../../users/opdavies.nix
|
||||
];
|
||||
|
||||
programs.dconf.enable = true;
|
||||
nixosModules = {
|
||||
core.openssh.enable = true;
|
||||
cli.podman.enable = true;
|
||||
desktop.dconf.enable = true;
|
||||
};
|
||||
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
|
||||
|
|
13
hosts/nixedo/modules/default.nix
Normal file
13
hosts/nixedo/modules/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
imports = [
|
||||
./acme.nix
|
||||
./audiobookshelf.nix
|
||||
./cloudflared.nix
|
||||
./containers
|
||||
./forgejo.nix
|
||||
./immich.nix
|
||||
./jellyfin.nix
|
||||
./nginx
|
||||
./paperless.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue