Restructure flake.nix for a simpler config for building different images off the same NixOS config.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
@@ -18,11 +17,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.me.ecc.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
hardware.rasdaemon.enable = true;
|
||||
}
|
||||
]
|
||||
);
|
||||
config = lib.mkIf config.me.ecc.enable {
|
||||
hardware.rasdaemon.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user