cleanup config imports
This commit is contained in:
parent
50ea80ad32
commit
7a08a607e4
@ -1,6 +1,6 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
# Modify auto-update so that it pulls a flake and much
|
||||
# Modify auto-update so that it pulls a flake
|
||||
|
||||
let
|
||||
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
|
||||
./zerotier.nix
|
||||
./auto-update.nix
|
||||
./boot/firmware.nix
|
||||
./boot/efi.nix
|
||||
./boot/bios.nix
|
||||
./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
|
||||
./boot
|
||||
./server
|
||||
./pc
|
||||
];
|
||||
|
||||
system.stateVersion = "20.09";
|
||||
@ -48,4 +35,6 @@
|
||||
hashedPassword = "$6$TuDO46rILr$gkPUuLKZe3psexhs8WFZMpzgEBGksE.c3Tjh1f8sD0KMC4oV89K2pqAABfl.Lpxu2jVdr5bgvR5cWnZRnji/r/";
|
||||
};
|
||||
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
|
||||
];
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user