summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-10-15 18:12:22 +0000
committerMike Vink <mike1994vink@gmail.com>2023-10-15 18:12:22 +0000
commitb589f7870d05af5670d2a1964bf834249280d399 (patch)
treeb1d95a6264027d21deb401759ccfec1898ad55f7 /flake.nix
parent4396dcc62119ea96e648bdf637ed785c224d3f03 (diff)
update stuff
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index f5f4a36..fe70581 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,6 +42,16 @@
])));
};
+ nixosConfigurations.core = inputs: extraModules: nixpkgs.lib.nixosSystem {
+ inherit lib system;
+ specialArgs = {inherit inputs;};
+ modules = extraModules ++ [
+ ] ++ (attrValues
+ (attrsets.mergeAttrsList (map modulesIn [
+ ./profiles/core
+ ])));
+ };
+
nixosModules.core = { ... }: {
imports = [
({config, ... }: {