Add checks
This commit is contained in:
parent
22c878bb69
commit
ac0d2bc001
@ -40,8 +40,9 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (builtins) mapAttrs attrValues;
|
inherit (builtins) mapAttrs attrValues;
|
||||||
inherit (lib.flake) eachDefaultSystem;
|
inherit (lib) recurseIntoAttrs;
|
||||||
inherit (lib.my) attrsToList mkApp mkShellApp mkShellApp' inlineModules mkDefaultSystemsPkgs flakePackageOverlay;
|
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
|
# 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.
|
# other flakes (e.g. home-manager) probably do internally.
|
||||||
@ -136,6 +137,10 @@
|
|||||||
in
|
in
|
||||||
# Stuff for each platform
|
# Stuff for each platform
|
||||||
{
|
{
|
||||||
|
checks = flattenTree {
|
||||||
|
homeConfigurations = recurseIntoAttrs self.homes;
|
||||||
|
};
|
||||||
|
|
||||||
devShell = pkgs.devshell.mkShell {
|
devShell = pkgs.devshell.mkShell {
|
||||||
env = attrsToList {
|
env = attrsToList {
|
||||||
# starship will show this
|
# starship will show this
|
||||||
|
@ -40,6 +40,12 @@ in
|
|||||||
# plenty of free memory.
|
# plenty of free memory.
|
||||||
boot.kernel.sysctl."vm.overcommit_memory" = "1";
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
# We disable networking.useDHCP, so bring this in for the user
|
# We disable networking.useDHCP, so bring this in for the user
|
||||||
dhcpcd
|
dhcpcd
|
||||||
|
Loading…
Reference in New Issue
Block a user