forked from foxora/nix
Compare commits
7 commits
fbafcca488
...
d512a54074
| Author | SHA1 | Date | |
|---|---|---|---|
| d512a54074 | |||
| ba8d341512 | |||
| 2c76f1f6ef | |||
| bf1706b0fa | |||
| 35bab88ce9 | |||
| a8a297d142 | |||
| c6b9d4f99a |
6 changed files with 22 additions and 32 deletions
20
flake.lock
generated
20
flake.lock
generated
|
|
@ -155,18 +155,18 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772502315,
|
"lastModified": 1772900511,
|
||||||
"narHash": "sha256-DHE6jU97GZ+QfUdPi4plZRnXtAvtGubOxqA5sQ4DD9M=",
|
"narHash": "sha256-JTEO5WzqgrU61EBz2UFQ2jtN8de+RnMC1FnJExJtCpw=",
|
||||||
"ref": "bleeding",
|
"owner": "cry128",
|
||||||
"rev": "9bab917d8cc3b16f3c73b1980fcb55a4b5ce5239",
|
"repo": "cerulean",
|
||||||
"revCount": 191,
|
"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": {
|
||||||
|
|
|
||||||
|
|
@ -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