2025-09-17 16:51:24 +03:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
2025-09-19 16:28:48 +03:00
|
|
|
modulesPath,
|
2025-09-17 16:51:24 +03:00
|
|
|
...
|
|
|
|
|
}:
|
2026-02-25 17:37:06 +02:00
|
|
|
let
|
|
|
|
|
uvmsPkgs = pkgs.callPackage ../pkgs { };
|
|
|
|
|
in
|
2025-09-17 16:51:24 +03:00
|
|
|
{
|
|
|
|
|
imports = [
|
2026-02-27 18:26:41 +02:00
|
|
|
../profiles/ch-runner.nix
|
|
|
|
|
../profiles/baseImage.nix
|
2025-09-19 16:28:48 +03:00
|
|
|
(modulesPath + "/profiles/minimal.nix")
|
2025-09-17 16:51:24 +03:00
|
|
|
];
|
|
|
|
|
|
2025-09-19 16:28:48 +03:00
|
|
|
system.stateVersion = "25.11";
|
|
|
|
|
|
2026-02-12 20:23:55 +02:00
|
|
|
networking.hostName = "dummy";
|
|
|
|
|
|
2025-09-19 23:15:09 +03:00
|
|
|
vmapps.enable = true;
|
|
|
|
|
_module.args.inputs = import ../npins;
|
|
|
|
|
|
2026-02-25 17:37:06 +02:00
|
|
|
# boot.isContainer = true;
|
2025-09-17 16:51:24 +03:00
|
|
|
boot.loader.grub.enable = false;
|
2025-09-19 16:28:48 +03:00
|
|
|
boot.initrd.systemd.enable = true;
|
2026-02-25 17:37:06 +02:00
|
|
|
|
|
|
|
|
boot.initrd.systemd.settings.Manager.DefaultTimeoutStartSec = 5;
|
2025-09-25 16:13:29 +03:00
|
|
|
systemd.settings.Manager.DefaultTimeoutStopSec = 10;
|
2025-09-19 16:28:48 +03:00
|
|
|
|
|
|
|
|
uvms.cloud-hypervisor.enable = true;
|
|
|
|
|
|
2025-09-19 23:15:09 +03:00
|
|
|
systemd.services."suid-sgid-wrappers".serviceConfig = {
|
|
|
|
|
StandardOutput = "journal+console";
|
|
|
|
|
StandardError = "journal+console";
|
|
|
|
|
};
|
2025-09-17 16:51:24 +03:00
|
|
|
|
2026-02-25 17:37:06 +02:00
|
|
|
systemd.services."terminal" = {
|
|
|
|
|
wantedBy = [ "multi-user.target" ];
|
|
|
|
|
wants = [ "wayland-proxy.service" ];
|
|
|
|
|
after = [ "wayland-proxy.service" ];
|
|
|
|
|
serviceConfig = {
|
|
|
|
|
User = "user";
|
|
|
|
|
WorkingDirectory = "/home/user";
|
|
|
|
|
ExecStart = lib.getExe pkgs.alacritty;
|
|
|
|
|
StandardOutput = "journal+console";
|
|
|
|
|
StandardError = "journal+console";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2025-09-17 16:51:24 +03:00
|
|
|
# TODO: cmdline, kernel, initrd, fileSystems
|
|
|
|
|
}
|