use cerulean snowflakes standard

This commit is contained in:
do butterflies cry? 2026-03-07 13:45:31 +10:00
parent 7ff6be7692
commit 656a359f60
Signed by untrusted user: cry
GPG key ID: F68745A836CA0412
3 changed files with 45 additions and 52 deletions

74
flake.lock generated
View file

@ -146,29 +146,28 @@
"cerulean": {
"inputs": {
"deploy-rs": "deploy-rs",
"home-manager": "home-manager",
"microvm": "microvm",
"nixpkgs": [
"nixpkgs"
],
"nt": "nt",
"sops-nix": "sops-nix",
"systems": [
"systems"
]
},
"locked": {
"lastModified": 1771409623,
"narHash": "sha256-1IhHueuQTVCVrui700IP9DfLXwb3kU2rnEWPSdxQY0k=",
"ref": "refs/heads/main",
"rev": "d5211287bd3cb96078f2053488d67d557848a8f2",
"revCount": 176,
"type": "git",
"url": "https://tearforge.net/cry/cerulean"
"lastModified": 1772852754,
"narHash": "sha256-rYmaW2+zmFXM7Mp+B/fsBkzbAoeApj04F1fSmiS3mXU=",
"owner": "cry128",
"repo": "cerulean",
"rev": "ef5bc338566670380ceec75eb692697c9e81fb7e",
"type": "github"
},
"original": {
"rev": "d5211287bd3cb96078f2053488d67d557848a8f2",
"type": "git",
"url": "https://tearforge.net/cry/cerulean"
"owner": "cry128",
"repo": "cerulean",
"type": "github"
}
},
"crane": {
@ -484,7 +483,6 @@
"home-manager": {
"inputs": {
"nixpkgs": [
"cerulean",
"nixpkgs"
]
},
@ -525,27 +523,6 @@
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1772633058,
"narHash": "sha256-SO7JapRy2HPhgmqiLbfnW1kMx5rakPMKZ9z3wtRLQjI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "080657a04188aca25f8a6c70a0fb2ea7e37f1865",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-25.11",
"repo": "home-manager",
"type": "github"
}
},
"home-manager_3": {
"inputs": {
"nixpkgs": [
"zen",
@ -1056,11 +1033,11 @@
"spectrum": "spectrum"
},
"locked": {
"lastModified": 1772742184,
"narHash": "sha256-zGnRxJQZ8wZTwvSxF4SAGoefbta15/W032tK22uIF2E=",
"lastModified": 1771365290,
"narHash": "sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4=",
"owner": "microvm-nix",
"repo": "microvm.nix",
"rev": "a257ca90febb686c75826918f9f8876d74f875eb",
"rev": "789c90b164b55b4379e7a94af8b9c01489024c18",
"type": "github"
},
"original": {
@ -1488,7 +1465,7 @@
"cachyos": "cachyos",
"cerulean": "cerulean",
"fenix": "fenix",
"home-manager": "home-manager_2",
"home-manager": "home-manager",
"home-manager-unstable": "home-manager-unstable",
"hyprland-git": "hyprland-git",
"hyprland-plugins": "hyprland-plugins",
@ -1604,6 +1581,27 @@
"type": "github"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": [
"cerulean",
"nixpkgs"
]
},
"locked": {
"lastModified": 1772495394,
"narHash": "sha256-hmIvE/slLKEFKNEJz27IZ8BKlAaZDcjIHmkZ7GCEjfw=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "1d9b98a29a45abe9c4d3174bd36de9f28755e3ff",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "sops-nix",
"type": "github"
}
},
"spectrum": {
"flake": false,
"locked": {
@ -1835,7 +1833,7 @@
},
"zen": {
"inputs": {
"home-manager": "home-manager_3",
"home-manager": "home-manager_2",
"nixpkgs": [
"nixpkgs-unstable"
]

View file

@ -19,7 +19,7 @@
};
cerulean = {
url = "git+https://tearforge.net/cry/cerulean?rev=d5211287bd3cb96078f2053488d67d557848a8f2";
url = "github:cry128/cerulean";
inputs = {
systems.follows = "systems";
nixpkgs.follows = "nixpkgs";
@ -101,5 +101,6 @@
extra-experimental-features = "pipe-operators";
};
outputs = inputs: import ./snow.nix inputs;
outputs = {cerulean, ...} @ inputs:
cerulean.snow.flake inputs ./.;
}

View file

@ -1,6 +1,5 @@
{cerulean, ...} @ inputs:
cerulean.mkNexus ./. (self: {
nexus = {
{inputs, ...}: {
nodes = {
args = {inherit inputs;};
modules = with inputs; [];
@ -12,12 +11,7 @@ cerulean.mkNexus ./. (self: {
servers = {};
};
nodes = let
inherit
(self.nexus)
groups
;
in {
nodes = {
nixarawrui = {
system = "x86_64-linux";
@ -33,7 +27,7 @@ cerulean.mkNexus ./. (self: {
arcturus = {
system = "x86_64-linux";
groups = [
groups = groups: [
groups.servers
];
@ -120,7 +114,7 @@ cerulean.mkNexus ./. (self: {
lyra = {
system = "x86_64-linux";
groups = [
groups = groups: [
groups.servers
];
@ -132,4 +126,4 @@ cerulean.mkNexus ./. (self: {
};
};
};
})
}