Sandbox
Some checks failed
Nix Build / build-nixos (push) Has been cancelled

This commit is contained in:
soraefir
2024-04-14 21:22:22 +02:00
parent 972cb47e3f
commit 6cb2c2bd00
9 changed files with 73 additions and 9 deletions

View File

@ -69,7 +69,7 @@ in {
RESOLVE_TO_PROXY_IP = "true";
NETWORK_ACCESS = "internal";
extra_params = "--o:ssl.enable=false --o:ssl.termination=true";
dictionaries = "en fr de jp no";
dictionaries = "en fr de jp";
};
labels = {
"traefik.enable" = "true";

26
systems/sandbox/cfg.nix Normal file
View File

@ -0,0 +1,26 @@
{
syscfg = {
hostname = "sandbox";
defaultUser = "sora";
users = [{
username = "sora";
git = {
email = "soraefir+git@helcel";
username = "soraefir";
key = "4E241635F8EDD2919D2FB44CA362EA0491E2EEA0";
};
}];
make = {
gui = false;
cli = true;
virt = true;
power = false;
game = false;
develop = false;
};
net = {
wlp = { enable = false; };
wg = { enable = false; };
};
};
}

View File

@ -0,0 +1,2 @@
{ config, inputs, ... }: { imports = [ ./hardware.nix ]; }

View File

@ -0,0 +1,14 @@
{ modulesPath, ... }: {
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.kernelPackages = pkgs.linuxPackages_latest;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules =
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/sda3";
fsType = "btrfs";
};
}