wsl init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
den,
|
||||
modules,
|
||||
...
|
||||
}: {
|
||||
den.aspects.doloro-wsl = {
|
||||
nixos = {}: {
|
||||
};
|
||||
homeManager = {}: {
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
den,
|
||||
modules,
|
||||
...
|
||||
}: {
|
||||
flake-file.inputs = {
|
||||
};
|
||||
den.aspects.wsl = {
|
||||
nixos = {}: {
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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,13 +30,18 @@
|
||||
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.'
|
||||
flake.options.homeConfigurations = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
description = "Home Manager configurations for users.";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user