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

48 lines
967 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
imports = [ ./hardware-configuration.nix ];
2024-02-29 09:53:34 -05:00
system.stateVersion = "24.05";
2024-02-29 09:53:34 -05:00
aux.system = {
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;
};
# 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
}