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

37 lines
619 B
Nix
Raw Normal View History

2021-01-21 22:13:53 +04:00
{ inputs, ... }: {
2021-07-19 23:14:41 +04:00
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
2021-01-22 21:44:23 +04:00
./hardware-configuration.nix
2022-02-03 02:36:37 +04:00
inputs.self.nixosRoles.server
2021-06-12 01:45:38 +04:00
gitea
2021-02-09 00:29:43 +04:00
# jitsi
2021-01-22 21:44:23 +04:00
mailserver
matrix-synapse
minidlna
nextcloud
nginx
vsftpd
2022-02-03 02:36:37 +04:00
# home-assistant
# mastodon
2022-02-22 01:06:43 +04:00
irc
2021-01-22 21:44:23 +04:00
];
2021-01-24 17:35:12 +04:00
services.logind.lidSwitch = "ignore";
2022-02-03 02:36:37 +04:00
system.stateVersion = "21.11";
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;
};
}