diff --git a/config/hosts/aspects/doloro-wsl/home.nix b/config/hosts/aspects/doloro-wsl/home.nix new file mode 100644 index 0000000..a8ef399 --- /dev/null +++ b/config/hosts/aspects/doloro-wsl/home.nix @@ -0,0 +1,12 @@ +{ + den, + modules, + ... +}: { + den.aspects.doloro-wsl = { + nixos = {}: { + }; + homeManager = {}: { + }; + }; +} diff --git a/config/hosts/aspects/doloro-wsl/host.nix b/config/hosts/aspects/doloro-wsl/host.nix new file mode 100644 index 0000000..c6d748b --- /dev/null +++ b/config/hosts/aspects/doloro-wsl/host.nix @@ -0,0 +1,12 @@ +{ + den, + modules, + ... +}: { + flake-file.inputs = { + }; + den.aspects.wsl = { + nixos = {}: { + }; + }; +} diff --git a/config/hosts/computers.nix b/config/hosts/computers.nix index 7b6c1aa..8bc92e6 100644 --- a/config/hosts/computers.nix +++ b/config/hosts/computers.nix @@ -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."; }; - } diff --git a/config/modules/raspberry-pi.nix b/config/modules/raspberry-pi.nix index 40d696d..9f4cd7b 100644 --- a/config/modules/raspberry-pi.nix +++ b/config/modules/raspberry-pi.nix @@ -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; }; }; };