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 = {}: {
};
};
}
+11 -4
View File
@@ -3,8 +3,7 @@
__findFile, __findFile,
lib, lib,
... ...
}: }: {
{
# Homes # Homes
den.homes.x86_64-linux.doloro-desktop = { den.homes.x86_64-linux.doloro-desktop = {
aspect = "doloro-desktop"; aspect = "doloro-desktop";
@@ -14,6 +13,9 @@
den.homes.aarch64-linux.doloro-laptop = { den.homes.aarch64-linux.doloro-laptop = {
userName = "doloro"; userName = "doloro";
}; };
den.homes.aarch64-linux.doloro-wsl = {
userName = "doloro";
};
# Machines # Machines
den.hosts.x86_64-linux.desktop = { den.hosts.x86_64-linux.desktop = {
users.doloro = { users.doloro = {
@@ -28,13 +30,18 @@
home-manager.enable = true; 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" ]; den.schema.user.classes = lib.mkDefault ["homeManager"];
# Fixes 'The option `flake.homeConfigurations' is defined multiple times while it's expected to be unique.' # Fixes 'The option `flake.homeConfigurations' is defined multiple times while it's expected to be unique.'
flake.options.homeConfigurations = lib.mkOption { flake.options.homeConfigurations = lib.mkOption {
type = lib.types.attrs; type = lib.types.attrs;
description = "Home Manager configurations for users."; description = "Home Manager configurations for users.";
}; };
} }
+5 -7
View File
@@ -27,14 +27,12 @@
]; ];
sdImage.compressImage = false; 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;
}; };
}; };
}; };