nixos-config/machines/T420-Laptop/default.nix

32 lines
515 B
Nix
Raw Normal View History

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
inputs.self.nixosProfiles.desktop
gitea
jitsi
mailserver
matrix-synapse
minidlna
nextcloud
nginx
vsftpd
];
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;
};
}