forked from foxora/nix
migrate to experimental snow.flake schema
This commit is contained in:
parent
a477f18fa6
commit
0d9b86942a
3 changed files with 28 additions and 50 deletions
30
snow.nix
30
snow.nix
|
|
@ -1,22 +1,20 @@
|
|||
{cerulean, ...} @ inputs:
|
||||
cerulean.mkNexus ./. (self: {
|
||||
nexus = {
|
||||
args = {inherit inputs;};
|
||||
|
||||
modules = with inputs; [];
|
||||
|
||||
{
|
||||
inputs,
|
||||
cerulean,
|
||||
...
|
||||
} @ args: {
|
||||
nodes = {
|
||||
base = inputs.nixpkgs;
|
||||
homeManager = inputs.home-manager;
|
||||
|
||||
args = {inherit inputs;};
|
||||
modules = with inputs; [];
|
||||
|
||||
groups = {
|
||||
servers = {};
|
||||
};
|
||||
|
||||
nodes = let
|
||||
inherit
|
||||
(self.nexus)
|
||||
groups
|
||||
;
|
||||
in {
|
||||
nodes = {
|
||||
nixarawrui = {
|
||||
system = "x86_64-linux";
|
||||
|
||||
|
|
@ -30,7 +28,7 @@ cerulean.mkNexus ./. (self: {
|
|||
arcturus = {
|
||||
system = "x86_64-linux";
|
||||
|
||||
groups = [
|
||||
groups = groups: [
|
||||
groups.servers
|
||||
];
|
||||
|
||||
|
|
@ -110,7 +108,7 @@ cerulean.mkNexus ./. (self: {
|
|||
lyra = {
|
||||
system = "x86_64-linux";
|
||||
|
||||
groups = [
|
||||
groups = groups: [
|
||||
groups.servers
|
||||
];
|
||||
|
||||
|
|
@ -122,4 +120,4 @@ cerulean.mkNexus ./. (self: {
|
|||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue