cleanup config imports
This commit is contained in:
parent
50ea80ad32
commit
7a08a607e4
@ -1,6 +1,6 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
# Modify auto-update so that it pulls a flake and much
|
# Modify auto-update so that it pulls a flake
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.system.autoUpgrade;
|
cfg = config.system.autoUpgrade;
|
||||||
|
10
common/boot/default.nix
Normal file
10
common/boot/default.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./firmware.nix
|
||||||
|
./efi.nix
|
||||||
|
./bios.nix
|
||||||
|
./luks.nix
|
||||||
|
];
|
||||||
|
}
|
@ -6,22 +6,9 @@
|
|||||||
./pia.nix
|
./pia.nix
|
||||||
./zerotier.nix
|
./zerotier.nix
|
||||||
./auto-update.nix
|
./auto-update.nix
|
||||||
./boot/firmware.nix
|
./boot
|
||||||
./boot/efi.nix
|
./server
|
||||||
./boot/bios.nix
|
./pc
|
||||||
./boot/luks.nix
|
|
||||||
./server/nginx.nix
|
|
||||||
./server/thelounge.nix
|
|
||||||
./server/mumble.nix
|
|
||||||
./server/icecast.nix
|
|
||||||
./server/nginx-stream.nix
|
|
||||||
./server/matrix.nix
|
|
||||||
./server/zerobin.nix
|
|
||||||
./server/gitea.nix
|
|
||||||
./server/privatebin/privatebin.nix
|
|
||||||
./server/drastikbot.nix
|
|
||||||
./server/radio.nix
|
|
||||||
./pc/de.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "20.09";
|
system.stateVersion = "20.09";
|
||||||
@ -48,4 +35,6 @@
|
|||||||
hashedPassword = "$6$TuDO46rILr$gkPUuLKZe3psexhs8WFZMpzgEBGksE.c3Tjh1f8sD0KMC4oV89K2pqAABfl.Lpxu2jVdr5bgvR5cWnZRnji/r/";
|
hashedPassword = "$6$TuDO46rILr$gkPUuLKZe3psexhs8WFZMpzgEBGksE.c3Tjh1f8sD0KMC4oV89K2pqAABfl.Lpxu2jVdr5bgvR5cWnZRnji/r/";
|
||||||
};
|
};
|
||||||
nix.trustedUsers = [ "root" "googlebot" ];
|
nix.trustedUsers = [ "root" "googlebot" ];
|
||||||
|
|
||||||
|
nix.gc.automatic = true;
|
||||||
}
|
}
|
17
common/server/default.nix
Normal file
17
common/server/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./nginx.nix
|
||||||
|
./thelounge.nix
|
||||||
|
./mumble.nix
|
||||||
|
./icecast.nix
|
||||||
|
./nginx-stream.nix
|
||||||
|
./matrix.nix
|
||||||
|
./zerobin.nix
|
||||||
|
./gitea.nix
|
||||||
|
./privatebin/privatebin.nix
|
||||||
|
./drastikbot.nix
|
||||||
|
./radio.nix
|
||||||
|
];
|
||||||
|
}
|
@ -30,7 +30,7 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
path
|
path
|
||||||
./common/common.nix
|
./common
|
||||||
inputs.simple-nixos-mailserver.nixosModule
|
inputs.simple-nixos-mailserver.nixosModule
|
||||||
inputs.agenix.nixosModules.age
|
inputs.agenix.nixosModules.age
|
||||||
({ lib, ... }: {
|
({ lib, ... }: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user