1
0
Fork 0
nix-configuration/hosts/Khanda/default.nix

52 lines
1 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... }:
{
imports = [ ./hardware-configuration.nix ];
system.stateVersion = "24.05";
system.autoUpgrade.enable = lib.mkForce false;
host = {
role = "workstation";
apps = {
development.enable = true;
media.enable = true;
office.enable = true;
2024-05-21 23:54:41 -04:00
recording.enable = true;
social.enable = true;
writing = {
enable = true;
ngrams.enable = false;
};
};
ui = {
flatpak.enable = true;
gnome.enable = true;
};
users.aires = {
enable = true;
services = {
syncthing = {
enable = true;
autostart = true;
enableTray = false;
};
};
};
};
# Build remotely
nix.distributedBuilds = true;
2024-04-28 11:54:53 -04:00
2024-05-17 10:52:15 -04:00
# Enable thermal control
services.thermald.enable = true;
# Limit the number of cores Nix can use
nix.settings.cores = 10;
2024-05-17 10:52:15 -04:00
# Configure the virtual machine created by nixos-rebuild build-vm
virtualisation.vmVariant.virtualisation = {
memorySize = 2048;
cores = 2;
};
}