2022-10-04 13:21:57 +04:00
|
|
|
{ inputs, lib, ... }: {
|
2021-07-19 23:14:41 +04:00
|
|
|
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
|
2021-01-22 21:44:23 +04:00
|
|
|
./hardware-configuration.nix
|
2022-02-03 02:36:37 +04:00
|
|
|
inputs.self.nixosRoles.server
|
2021-06-12 01:45:38 +04:00
|
|
|
gitea
|
2021-02-09 00:29:43 +04:00
|
|
|
# jitsi
|
2021-01-22 21:44:23 +04:00
|
|
|
mailserver
|
|
|
|
matrix-synapse
|
2023-09-12 01:13:04 +04:00
|
|
|
# minidlna
|
2021-01-22 21:44:23 +04:00
|
|
|
nextcloud
|
|
|
|
nginx
|
|
|
|
vsftpd
|
2022-02-03 02:36:37 +04:00
|
|
|
# home-assistant
|
|
|
|
# mastodon
|
2022-02-22 01:06:43 +04:00
|
|
|
irc
|
2023-01-06 15:19:00 +04:00
|
|
|
remapper
|
2021-01-22 21:44:23 +04:00
|
|
|
];
|
|
|
|
|
2021-01-24 17:35:12 +04:00
|
|
|
services.logind.lidSwitch = "ignore";
|
|
|
|
|
2022-02-03 02:36:37 +04:00
|
|
|
system.stateVersion = "21.11";
|
|
|
|
|
2022-10-04 13:21:57 +04:00
|
|
|
boot.loader = {
|
|
|
|
systemd-boot.enable = lib.mkForce false;
|
|
|
|
grub = {
|
|
|
|
enable = lib.mkForce true;
|
2023-09-12 01:13:04 +04:00
|
|
|
device = "/dev/disk/by-path/pci-0000:06:00.0-scsi-0:0:0:0";
|
2022-10-04 13:21:57 +04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 22:13:53 +04:00
|
|
|
deviceSpecific.devInfo = {
|
2021-01-22 21:44:23 +04:00
|
|
|
legacy = true;
|
2021-01-21 22:13:53 +04:00
|
|
|
cpu = {
|
|
|
|
vendor = "intel";
|
|
|
|
clock = 2500;
|
|
|
|
cores = 2;
|
|
|
|
};
|
|
|
|
drive = {
|
|
|
|
type = "ssd";
|
|
|
|
speed = 1000;
|
|
|
|
size = 120;
|
|
|
|
};
|
|
|
|
ram = 8;
|
|
|
|
};
|
|
|
|
}
|