36 lines
611 B
Nix
36 lines
611 B
Nix
{ inputs, ... }: {
|
|
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
|
|
./hardware-configuration.nix
|
|
inputs.self.nixosRoles.server
|
|
gitea
|
|
# jitsi
|
|
mailserver
|
|
matrix-synapse
|
|
minidlna
|
|
nextcloud
|
|
nginx
|
|
vsftpd
|
|
# home-assistant
|
|
# mastodon
|
|
];
|
|
|
|
services.logind.lidSwitch = "ignore";
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
deviceSpecific.devInfo = {
|
|
legacy = true;
|
|
cpu = {
|
|
vendor = "intel";
|
|
clock = 2500;
|
|
cores = 2;
|
|
};
|
|
drive = {
|
|
type = "ssd";
|
|
speed = 1000;
|
|
size = 120;
|
|
};
|
|
ram = 8;
|
|
};
|
|
}
|