45 lines
773 B
Nix
Raw Normal View History

2022-10-04 13:21:57 +04:00
{ inputs, lib, ... }: {
2021-07-19 22:14:41 +03:00
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
2021-01-22 20:44:23 +03:00
./hardware-configuration.nix
2022-02-03 01:36:37 +03:00
inputs.self.nixosRoles.server
2021-06-12 00:45:38 +03:00
gitea
2021-02-08 23:29:43 +03:00
# jitsi
2021-01-22 20:44:23 +03:00
mailserver
matrix-synapse
minidlna
nextcloud
nginx
vsftpd
2022-02-03 01:36:37 +03:00
# home-assistant
# mastodon
2022-02-22 00:06:43 +03:00
irc
2021-01-22 20:44:23 +03:00
];
2021-01-24 16:35:12 +03:00
services.logind.lidSwitch = "ignore";
2022-02-03 01:36:37 +03: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;
device = "/dev/sda";
};
};
2021-01-21 21:13:53 +03:00
deviceSpecific.devInfo = {
2021-01-22 20:44:23 +03:00
legacy = true;
2021-01-21 21:13:53 +03:00
cpu = {
vendor = "intel";
clock = 2500;
cores = 2;
};
drive = {
type = "ssd";
speed = 1000;
size = 120;
};
ram = 8;
};
}