This commit is contained in:
2026-05-22 15:00:59 +01:00
parent 6c609e2fa6
commit 7d3a5ba4fa
4 changed files with 40 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
{
den,
modules,
...
}: {
den.aspects.doloro-wsl = {
nixos = {}: {
};
homeManager = {}: {
};
};
}
+12
View File
@@ -0,0 +1,12 @@
{
den,
modules,
...
}: {
flake-file.inputs = {
};
den.aspects.wsl = {
nixos = {}: {
};
};
}
+10 -3
View File
@@ -3,8 +3,7 @@
__findFile,
lib,
...
}:
{
}: {
# Homes
den.homes.x86_64-linux.doloro-desktop = {
aspect = "doloro-desktop";
@@ -14,6 +13,9 @@
den.homes.aarch64-linux.doloro-laptop = {
userName = "doloro";
};
den.homes.aarch64-linux.doloro-wsl = {
userName = "doloro";
};
# Machines
den.hosts.x86_64-linux.desktop = {
users.doloro = {
@@ -28,6 +30,12 @@
home-manager.enable = true;
};
};
den.hosts.aarch64-linux.wsl = {
users.doloro = {
aspect = "doloro-wsl";
home-manager.enable = true;
};
};
den.schema.user.classes = lib.mkDefault ["homeManager"];
@@ -36,5 +44,4 @@
type = lib.types.attrs;
description = "Home Manager configurations for users.";
};
}
+5 -7
View File
@@ -27,14 +27,12 @@
];
sdImage.compressImage = false;
# raspberry-pi-nix.board = "bcm2712"; # Rpi 5 - 64bit
# We need to rebuild kernel for 6.12
# raspberry-pi-nix.kernel-version = "v6_12_17";
# raspberry-pi-nix.uboot.enable = false;
boot.initrd.systemd.enableTpm2 = false;
boot.initrd.allowMissingModules = true;
hardware.enableRedistributableFirmware = true;
boot.initrd.systemd.tpm2.enable = false;
boot.initrd.allowMissingModules = true;
boot.zfs.forceImportRoot = false;
# hardware.enableRedistributableFirmware = true;
};
};
};