2021-01-21 22:13:53 +04:00
|
|
|
{ inputs, ... }: {
|
2021-01-22 21:44:23 +04:00
|
|
|
imports = with inputs.self.nixosModules; [
|
|
|
|
./hardware-configuration.nix
|
2021-01-23 23:21:51 +04:00
|
|
|
inputs.self.nixosProfiles.base
|
2021-02-09 00:29:43 +04:00
|
|
|
# gitea
|
|
|
|
# jitsi
|
2021-01-22 21:44:23 +04:00
|
|
|
mailserver
|
|
|
|
matrix-synapse
|
|
|
|
minidlna
|
|
|
|
nextcloud
|
|
|
|
nginx
|
|
|
|
vsftpd
|
2021-03-18 18:10:07 +04:00
|
|
|
home-assistant
|
2021-01-22 21:44:23 +04:00
|
|
|
];
|
|
|
|
|
2021-01-24 17:35:12 +04:00
|
|
|
services.logind.lidSwitch = "ignore";
|
|
|
|
|
2021-01-22 21:44:23 +04:00
|
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|