Add checks
This commit is contained in:
parent
22c878bb69
commit
ac0d2bc001
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user