feat(niri): noctalia shell :o

This commit is contained in:
Kat Inskip 2025-10-12 21:34:24 -07:00
parent 540ca5f762
commit adaf2b06e5
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
20 changed files with 408 additions and 72 deletions

View file

@ -1,5 +1,4 @@
{lib, ...} @ specyArgs: let
inherit (lib.attrsets) removeAttrs;
_: let
hostConfig = {
tree,
modulesPath,
@ -10,8 +9,8 @@
(modulesPath + "/profiles/qemu-guest.nix")
]
++ (with tree.nixos; [
container-host
microvm-host
#container-host
#microvm-host
])
++ (with tree.nixos.profiles; [
server
@ -28,26 +27,26 @@
# TODO: Add config.microvm.stateDir to backup schedule?
# TODO: figure out updateFlake?
microvm = {
host.enable = true;
vms = {
syncthing = {
autostart = true;
specialArgs = removeAttrs specyArgs ["config" "pkgs" "lib"];
config = {
imports = [
tree.nixos.servers.syncthing
];
services = {
syncthing = {
enable = true;
};
};
};
restartIfChanged = true;
};
};
};
#microvm = {
# host.enable = true;
# vms = {
# syncthing = {
# autostart = true;
# specialArgs = removeAttrs specyArgs ["config" "pkgs" "lib"];
# config = {
# imports = [
# tree.nixos.servers.syncthing
# ];
# services = {
# syncthing = {
# enable = true;
# };
# };
# };
# restartIfChanged = true;
# };
# };
#};
system.stateVersion = "23.11";
};

View file

@ -220,8 +220,10 @@ _: let
initrd = {
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
};
kernelModules = ["nct6775" "kvm-amd"];
extraModulePackages = [config.boot.kernelPackages.v4l2loopback.out];
kernelModules = ["nct6775" "kvm-amd" "k10temp"];
extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback.out
];
supportedFilesystems = ["ntfs" "zfs"];
};