hosts/legion: move to new structure

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-07 17:23:45 +03:00
parent 75990ccc86
commit 7f073e121c
18 changed files with 239 additions and 380 deletions

View File

@ -1,40 +1,39 @@
{inputs, ...}: {
{
config,
inputs,
...
}: {
imports = with inputs; [
self.nixosModules.config
self.nixosModules.desktop
self.nixosModules.system
../dunamis/programs.nix
./boot.nix
./disko.nix
./hardware.nix
./networking.nix
./nix.nix
./power-saving.nix
./services.nix
./sops.nix
./users.nix
./disko
./hardware
];
desktop.niri.enable = true;
environment.memoryAllocator.provider = "mimalloc";
locale.ukrainian.enable = true;
module.stylix = {
enable = true;
theme = "helios";
networking = {
networkmanager.enable = true;
hostName = "legion";
};
opentabletdriver.enable = false;
qmk-vial.enable = true;
environment.memoryAllocator.provider = "mimalloc";
system.stateVersion = "25.05";
time.timeZone = "Europe/Kyiv";
virtual.libvirt.enable = true;
wireless = {
bluetooth.enable = true;
bluetooth.enableBlueman = true;
desktop.niri.enable = true;
module = {
config = {
# secureBoot = true;
# tpmDiskUnlock = true;
vaapi = "nvidia";
};
stylix = {
enable = true;
theme = "helios";
};
};
swapDevices = [
{
device = "/swap/swapfile";
size = 8 * 1024;
}
];
locale.ukrainian.enable = true;
virtual.libvirt.enable = true;
}