2024-05-07 18:02:59 -04:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [ ./hardware-configuration.nix ];
|
2024-02-29 09:53:34 -05:00
|
|
|
|
2024-05-07 18:02:59 -04:00
|
|
|
system.stateVersion = "24.05";
|
2024-02-29 09:53:34 -05:00
|
|
|
|
2024-06-24 11:38:28 -04:00
|
|
|
aux.system = {
|
2024-05-07 18:02:59 -04:00
|
|
|
role = "workstation";
|
|
|
|
apps = {
|
|
|
|
development.enable = true;
|
|
|
|
media.enable = true;
|
|
|
|
office.enable = true;
|
|
|
|
writing.enable = true;
|
|
|
|
};
|
|
|
|
ui = {
|
|
|
|
flatpak.enable = true;
|
|
|
|
gnome.enable = true;
|
|
|
|
};
|
|
|
|
users = {
|
|
|
|
aires = {
|
|
|
|
enable = true;
|
|
|
|
autologin = true;
|
|
|
|
services = {
|
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
autostart = true;
|
|
|
|
enableTray = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-02-29 09:53:34 -05:00
|
|
|
|
2024-06-24 12:24:21 -04:00
|
|
|
aux.system.services.autoUpgrade = {
|
|
|
|
enable = true;
|
|
|
|
configDir = config.secrets.nixConfigFolder;
|
|
|
|
onCalendar = "daily";
|
|
|
|
user = config.users.users.aires.name;
|
|
|
|
push = false;
|
|
|
|
};
|
|
|
|
|
2024-05-07 18:02:59 -04:00
|
|
|
# Configure the virtual machine created by nixos-rebuild build-vm
|
|
|
|
virtualisation.vmVariant.virtualisation = {
|
|
|
|
memorySize = 2048;
|
|
|
|
cores = 2;
|
|
|
|
};
|
2024-04-13 17:02:35 -04:00
|
|
|
}
|