Begin the move to the import all, activate by config model

This commit is contained in:
Jimbo 2024-11-04 22:41:38 -05:00
parent 7397b614de
commit 07cb2d67a2
97 changed files with 776 additions and 633 deletions

View file

@ -28,7 +28,7 @@ in {
initrd = {
systemd = {
enable = true;
services.root-reset = {
services.root-reset = {
description = "Reset BTRFS root and snapshot last boot";
wantedBy = [ "initrd.target" ];
after = [ "dev-nixos-root.device" ];

View file

@ -4,29 +4,15 @@
./boot
./disko
./hardware
# Apps and programs
../../modules/system
../../modules/system/accounts
../../modules/system/desktop
../../modules/system/programs
../../modules/system/services
../../modules/system/services/pc/sunshine
../../modules/system/services/pc/virtualization/qemu
# Devices and hardware
../../modules/system/devices
../../modules/system/devices/boot/lanzaboote
../../modules/system/devices/video/nvidia
../../modules/system/devices/networking/firewall/pc
# Misc
../../overlays
../../variables
];
networking.hostName = "firefly";
system.lanzaboote.enable = true;
system.wireless.enable = false;
system.wireguard.client.enable = false;
system.video.nvidia.enable = true;
system.libvirtd.enable = true;
# Force Electron to use Wayland
networking.hostName = "firefly";
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}