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

This commit is contained in:
soraefir
2024-04-13 09:32:22 +02:00
parent e4b93499b9
commit 177c26e41d
12 changed files with 171 additions and 28 deletions

29
systems/ci/default.nix Normal file
View File

@ -0,0 +1,29 @@
{ config, inputs, ... }: {
imports = [ ./hardware.nix ];
hostcfg = {
hostname = "valinor";
username = "sora";
make = {
gui = true;
cli = true;
virt = true;
power = true;
game = true;
develop = true;
};
net = {
wlp = {
enable = false;
nif = "NA";
};
wg = {
enable = false;
ip4 = "";
ip6 = "";
pk = "";
};
};
};
}

21
systems/ci/hardware.nix Normal file
View File

@ -0,0 +1,21 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules =
[ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "v4l2loopback" ];
boot.extraModulePackages = with config.boot.kernelPackages;
[ v4l2loopback.out ];
fileSystems."/" = {
device = "NA";
fsType = "ext4";
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

18
systems/ci/home.nix Normal file
View File

@ -0,0 +1,18 @@
{ config, ... }: {
config.homecfg = {
username = "sora";
make = {
gui = true;
cli = true;
game = true;
develop = true;
power = true;
};
git = {
email = "ci@nonet";
username = "CI";
key = "";
};
};
}