use NixTypes system

This commit is contained in:
do butterflies cry? 2026-02-09 09:43:37 +10:00
parent 1de15c45f2
commit d7850a7acc
2 changed files with 166 additions and 40 deletions

194
flake.lock generated
View file

@ -3,21 +3,22 @@
"cerulean": { "cerulean": {
"inputs": { "inputs": {
"deploy-rs": "deploy-rs", "deploy-rs": "deploy-rs",
"mix": "mix",
"nib": "nib",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nixpkgs-unstable": [ "nixpkgs-unstable": [
"nixpkgs-unstable" "nixpkgs-unstable"
], ],
"nt": [
"nt"
],
"systems": [ "systems": [
"systems" "systems"
] ]
}, },
"locked": { "locked": {
"lastModified": 1770552327, "lastModified": 1770594166,
"narHash": "sha256-cVVPdC650MRP4tMSB9EcECUpc0U4HWSZzoQnpEHH0uE=", "narHash": "sha256-ijsAdvC9/0873gCkqNpTjUDl+Gk8oKovgvpnnQfA+/A=",
"path": "/home/me/agribit/nexus/Cerulean", "path": "/home/me/agribit/nexus/Cerulean",
"type": "path" "type": "path"
}, },
@ -120,6 +121,28 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nt",
"nix-unit",
"nixpkgs"
]
},
"locked": {
"lastModified": 1762440070,
"narHash": "sha256-xxdepIcb39UJ94+YydGP221rjnpkDZUlykKuF54PsqI=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "26d05891e14c88eb4a5d5bee659c0db5afb609d8",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"grub2-themes": { "grub2-themes": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -140,45 +163,24 @@
"type": "github" "type": "github"
} }
}, },
"mix": { "home-manager": {
"inputs": { "inputs": {
"nib": [ "nixpkgs": [
"cerulean", "nixpkgs"
"nib"
] ]
}, },
"locked": { "locked": {
"lastModified": 1768525804, "lastModified": 1763992789,
"narHash": "sha256-jlpNb7Utqfdq2HESAB1mtddWHOsxKlTjPiLFRLd35r8=", "narHash": "sha256-WHkdBlw6oyxXIra/vQPYLtqY+3G8dUVZM8bEXk0t8x4=",
"owner": "emilelcb", "owner": "nix-community",
"repo": "mix", "repo": "home-manager",
"rev": "617d8915a6518a3d4e375b87c50ae34d9daee6c6", "rev": "44831a7eaba4360fb81f2acc5ea6de5fde90aaa3",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "emilelcb", "owner": "nix-community",
"repo": "mix", "ref": "release-25.05",
"type": "github" "repo": "home-manager",
}
},
"nib": {
"inputs": {
"systems": [
"cerulean",
"systems"
]
},
"locked": {
"lastModified": 1768472076,
"narHash": "sha256-bdVRCDy6oJx/CZiyxkke783FgtBW//wDuOAITUsQcNc=",
"owner": "emilelcb",
"repo": "nib",
"rev": "42ac66dfc180a13af1cc8850397db66ec5556991",
"type": "github"
},
"original": {
"owner": "emilelcb",
"repo": "nib",
"type": "github" "type": "github"
} }
}, },
@ -198,6 +200,52 @@
"type": "github" "type": "github"
} }
}, },
"nix-github-actions": {
"inputs": {
"nixpkgs": [
"nt",
"nix-unit",
"nixpkgs"
]
},
"locked": {
"lastModified": 1737420293,
"narHash": "sha256-F1G5ifvqTpJq7fdkT34e/Jy9VCyzd5XfJ9TO8fHhJWE=",
"owner": "nix-community",
"repo": "nix-github-actions",
"rev": "f4158fa080ef4503c8f4c820967d946c2af31ec9",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-github-actions",
"type": "github"
}
},
"nix-unit": {
"inputs": {
"flake-parts": "flake-parts_2",
"nix-github-actions": "nix-github-actions",
"nixpkgs": [
"nt",
"nixpkgs"
],
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1762774186,
"narHash": "sha256-hRADkHjNt41+JUHw2EiSkMaL4owL83g5ZppjYUdF/Dc=",
"owner": "nix-community",
"repo": "nix-unit",
"rev": "1c9ab50554eed0b768f9e5b6f646d63c9673f0f7",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-unit",
"type": "github"
}
},
"nixcord": { "nixcord": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
@ -283,16 +331,51 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": {
"locked": {
"lastModified": 1767313136,
"narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nt": {
"inputs": {
"nix-unit": "nix-unit",
"nixpkgs": "nixpkgs_3",
"systems": "systems_2"
},
"locked": {
"lastModified": 1770593961,
"narHash": "sha256-Q2rRlN6yZiatLwEfYyCKJ/SImva+vbXr8DVA0qvix4c=",
"path": "/home/me/agribit/nexus/nt",
"type": "path"
},
"original": {
"path": "/home/me/agribit/nexus/nt",
"type": "path"
}
},
"root": { "root": {
"inputs": { "inputs": {
"cerulean": "cerulean", "cerulean": "cerulean",
"dobutterfliescry-net": "dobutterfliescry-net", "dobutterfliescry-net": "dobutterfliescry-net",
"grub2-themes": "grub2-themes", "grub2-themes": "grub2-themes",
"home-manager": "home-manager",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nixcord": "nixcord", "nixcord": "nixcord",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"systems": "systems_2" "nt": "nt",
"systems": "systems_3"
} }
}, },
"systems": { "systems": {
@ -325,6 +408,43 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nt",
"nix-unit",
"nixpkgs"
]
},
"locked": {
"lastModified": 1762410071,
"narHash": "sha256-aF5fvoZeoXNPxT0bejFUBXeUjXfHLSL7g+mjR/p5TEg=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "97a30861b13c3731a84e09405414398fbf3e109f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"utils": { "utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"

View file

@ -12,6 +12,9 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# nt.url = "github:emilelcb/nt";
nt.url = "/home/me/agribit/nexus/nt";
cerulean = { cerulean = {
# url = "github:emilelcb/Cerulean"; # url = "github:emilelcb/Cerulean";
url = "/home/me/agribit/nexus/Cerulean"; url = "/home/me/agribit/nexus/Cerulean";
@ -19,6 +22,7 @@
systems.follows = "systems"; systems.follows = "systems";
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";
nixpkgs-unstable.follows = "nixpkgs-unstable"; nixpkgs-unstable.follows = "nixpkgs-unstable";
nt.follows = "nt";
}; };
}; };
@ -50,7 +54,9 @@
... ...
}: let }: let
groups = { groups = {
cryde = {}; # oh frick i cried again cryos = {
cryde = {}; # oh frick i cried again
};
server = {}; server = {};
}; };
in in
@ -63,7 +69,7 @@
# my laptop <3 :3 # my laptop <3 :3
lolcathost = { lolcathost = {
system = "x86_64-linux"; system = "x86_64-linux";
groups = [groups.cryde]; groups = [groups.cryos.cryde];
extraModules = [ extraModules = [
home-manager.nixosModules.default home-manager.nixosModules.default
grub2-themes.nixosModules.default grub2-themes.nixosModules.default
@ -73,7 +79,7 @@
# i be on my puter frfr # i be on my puter frfr
myputer = { myputer = {
system = "x86_64-linux"; system = "x86_64-linux";
groups = [groups.cryde]; groups = [groups.cryos.cryde];
extraModules = [ extraModules = [
home-manager.nixosModules.default home-manager.nixosModules.default
grub2-themes.nixosModules.default grub2-themes.nixosModules.default