forked from foxora/nix
cerulean v0.2.5-alpha
This commit is contained in:
parent
ba8d341512
commit
d512a54074
6 changed files with 44 additions and 32 deletions
42
flake.lock
generated
42
flake.lock
generated
|
|
@ -149,23 +149,24 @@
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nt": "nt",
|
"nt": "nt",
|
||||||
|
"sops-nix": "sops-nix",
|
||||||
"systems": [
|
"systems": [
|
||||||
"systems"
|
"systems"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771654432,
|
"lastModified": 1772900511,
|
||||||
"narHash": "sha256-F2QSihcnsiz5o2AQADQVRG8ijZqoPDmvIQjbReLu680=",
|
"narHash": "sha256-JTEO5WzqgrU61EBz2UFQ2jtN8de+RnMC1FnJExJtCpw=",
|
||||||
"ref": "bleeding",
|
"owner": "cry128",
|
||||||
"rev": "fb117bb9ff3f521b53f825201ec618624627cfb2",
|
"repo": "cerulean",
|
||||||
"revCount": 183,
|
"rev": "02ded5d4f0d53eaeb68f1b68469926fd21acc6db",
|
||||||
"type": "git",
|
"type": "github"
|
||||||
"url": "https://tearforge.net/cry/cerulean"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"ref": "bleeding",
|
"owner": "cry128",
|
||||||
"type": "git",
|
"ref": "v0.2.5-alpha",
|
||||||
"url": "https://tearforge.net/cry/cerulean"
|
"repo": "cerulean",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
|
|
@ -1603,6 +1604,27 @@
|
||||||
"type": "github"
|
"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": {
|
"spectrum": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
cerulean = {
|
cerulean = {
|
||||||
url = "git+https://tearforge.net/cry/cerulean?ref=bleeding";
|
url = "github:cry128/cerulean/v0.2.5-alpha";
|
||||||
inputs = {
|
inputs = {
|
||||||
systems.follows = "systems";
|
systems.follows = "systems";
|
||||||
nixpkgs.follows = "nixpkgs";
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
nixpkgs.channels.default = {
|
|
||||||
default = lib.mkForce config.nixpkgs.channels.default.upkgs;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -12,7 +12,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf enabled {
|
config = lib.mkIf enabled {
|
||||||
nixpkgs.channels.default = {
|
nixpkgs.channels = {
|
||||||
upkgs.overlays = [
|
upkgs.overlays = [
|
||||||
(self: super: {
|
(self: super: {
|
||||||
amdgpu-ignore-ctx-privileges = super.fetchpatch {
|
amdgpu-ignore-ctx-privileges = super.fetchpatch {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{inputs, ...} @ args: {
|
{inputs, ...} @ args: {
|
||||||
nixpkgs.channels = {
|
nixpkgs.channels = {
|
||||||
default = {
|
base = {
|
||||||
overlays = [(import ./overlays.nix args)];
|
overlays = [(import ./overlays.nix args)];
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
19
snow.nix
19
snow.nix
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{inputs, ...} @ args: {
|
||||||
inputs,
|
|
||||||
cerulean,
|
|
||||||
...
|
|
||||||
} @ args: {
|
|
||||||
nodes = {
|
nodes = {
|
||||||
base = inputs.nixpkgs;
|
base = inputs.nixpkgs;
|
||||||
homeManager = inputs.home-manager;
|
homeManager = inputs.home-manager;
|
||||||
|
|
@ -53,9 +49,12 @@
|
||||||
|
|
||||||
# needed to get interface working
|
# needed to get interface working
|
||||||
qemu.extraArgs = [
|
qemu.extraArgs = [
|
||||||
"-monitor" "unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait"
|
"-monitor"
|
||||||
"-chardev" "socket,id=serial1,path=/var/lib/microvms/home-assistant/serial.sock,server=on,wait=off"
|
"unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait"
|
||||||
"-serial" "chardev:serial1"
|
"-chardev"
|
||||||
|
"socket,id=serial1,path=/var/lib/microvms/home-assistant/serial.sock,server=on,wait=off"
|
||||||
|
"-serial"
|
||||||
|
"chardev:serial1"
|
||||||
];
|
];
|
||||||
|
|
||||||
# memory cannot be 2GB so i doubled it and used 4GB:
|
# memory cannot be 2GB so i doubled it and used 4GB:
|
||||||
|
|
@ -101,7 +100,7 @@
|
||||||
deploy.ssh = {
|
deploy.ssh = {
|
||||||
host = "10.16.1.163";
|
host = "10.16.1.163";
|
||||||
port = 2222;
|
port = 2222;
|
||||||
user = "foxora";
|
publicKeys = [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -115,7 +114,7 @@
|
||||||
deploy.ssh = {
|
deploy.ssh = {
|
||||||
host = "10.16.1.58";
|
host = "10.16.1.58";
|
||||||
port = 2222;
|
port = 2222;
|
||||||
user = "foxora";
|
publicKeys = [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue