diff --git a/flake.nix b/flake.nix index 001b24e..940ad84 100644 --- a/flake.nix +++ b/flake.nix @@ -40,8 +40,9 @@ }: let inherit (builtins) mapAttrs attrValues; - inherit (lib.flake) eachDefaultSystem; - inherit (lib.my) attrsToList mkApp mkShellApp mkShellApp' inlineModules mkDefaultSystemsPkgs flakePackageOverlay; + inherit (lib) recurseIntoAttrs; + inherit (lib.flake) flattenTree eachDefaultSystem; + inherit (lib.my) attrsToList inlineModules mkDefaultSystemsPkgs flakePackageOverlay; # Extend a lib with extras that _must not_ internally reference private nixpkgs. flake-utils doesn't, but many # other flakes (e.g. home-manager) probably do internally. @@ -136,6 +137,10 @@ in # Stuff for each platform { + checks = flattenTree { + homeConfigurations = recurseIntoAttrs self.homes; + }; + devShell = pkgs.devshell.mkShell { env = attrsToList { # starship will show this diff --git a/nixos/installer.nix b/nixos/installer.nix index f99a9e4..515d437 100644 --- a/nixos/installer.nix +++ b/nixos/installer.nix @@ -40,6 +40,12 @@ in # plenty of free memory. boot.kernel.sysctl."vm.overcommit_memory" = "1"; + # This should be overridden by whatever boot mechanism is used + fileSystems."/" = mkDefault { + device = "none"; + fsType = "tmpfs"; + }; + environment.systemPackages = with pkgs; [ # We disable networking.useDHCP, so bring this in for the user dhcpcd