This commit is contained in:
xunuwu 2024-10-25 10:39:48 +02:00
parent b794d397a7
commit d94b4723d4
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
89 changed files with 6 additions and 10 deletions

View file

@ -10,13 +10,10 @@
specialArgs = { specialArgs = {
inherit inputs self; inherit inputs self;
}; };
prependAll = a: b: map (x: a + x) b;
rootPaths = prependAll "${self}/";
modulePaths = prependAll "${self}/system/";
profiles = inputs.haumea.lib.load { systemProfiles = inputs.haumea.lib.load {
inputs = {inherit inputs lib;}; inputs = {inherit inputs lib;};
src = "${self}/profiles"; src = "${self}/systemProfiles";
}; };
in { in {
flake.colmena = { flake.colmena = {
@ -33,7 +30,7 @@ in {
}; };
imports = lib.flatten [ imports = lib.flatten [
./kidney ./kidney
(with profiles; [ (with systemProfiles; [
core.tools core.tools
core.users core.users
core.locale core.locale
@ -66,7 +63,7 @@ in {
imports = lib.flatten [ imports = lib.flatten [
./nixdesk ./nixdesk
(with profiles; [ (with systemProfiles; [
secrets.default secrets.default
secrets.nixdesk.default secrets.nixdesk.default
@ -131,7 +128,7 @@ in {
imports = lib.flatten [ imports = lib.flatten [
./hopper ./hopper
(with profiles; [ (with systemProfiles; [
secrets.default secrets.default
secrets.hopper.default secrets.hopper.default
@ -151,7 +148,7 @@ in {
imports = lib.flatten [ imports = lib.flatten [
./liveiso ./liveiso
(with profiles; [ (with systemProfiles; [
nix.default nix.default
core.security core.security
services.default services.default
@ -162,7 +159,6 @@ in {
flake.nixosConfigurations = let flake.nixosConfigurations = let
l = inputs.nixpkgs.lib; l = inputs.nixpkgs.lib;
in in
## TODO: make use of nixpkgs.pkgs for per-system pkgs without colmena
builtins.mapAttrs (_: v: builtins.mapAttrs (_: v:
l.nixosSystem { l.nixosSystem {
inherit specialArgs; inherit specialArgs;