nixos-config/machines/T420-Laptop/default.nix
2021-07-19 22:14:41 +03:00

36 lines
616 B
Nix

{ inputs, ... }: {
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
./hardware-configuration.nix
inputs.self.nixosRoles.base
gitea
# jitsi
mailserver
matrix-synapse
minidlna
nextcloud
nginx
vsftpd
home-assistant
mastodon
];
services.logind.lidSwitch = "ignore";
security.sudo.wheelNeedsPassword = false;
deviceSpecific.devInfo = {
legacy = true;
cpu = {
vendor = "intel";
clock = 2500;
cores = 2;
};
drive = {
type = "ssd";
speed = 1000;
size = 120;
};
ram = 8;
};
}