nixos-config/machines/T420-Laptop/default.nix
2022-02-22 00:14:59 +03:00

37 lines
619 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
irc
];
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;
};
}