mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat(niri): noctalia shell :o
This commit is contained in:
parent
540ca5f762
commit
adaf2b06e5
20 changed files with 408 additions and 72 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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"];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue