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": {
|
||||
"lastModified": 1772502315,
|
||||
"narHash": "sha256-DHE6jU97GZ+QfUdPi4plZRnXtAvtGubOxqA5sQ4DD9M=",
|
||||
"ref": "bleeding",
|
||||
"rev": "9bab917d8cc3b16f3c73b1980fcb55a4b5ce5239",
|
||||
"revCount": 191,
|
||||
"type": "git",
|
||||
"url": "https://tearforge.net/cry/cerulean"
|
||||
"lastModified": 1772900511,
|
||||
"narHash": "sha256-JTEO5WzqgrU61EBz2UFQ2jtN8de+RnMC1FnJExJtCpw=",
|
||||
"owner": "cry128",
|
||||
"repo": "cerulean",
|
||||
"rev": "02ded5d4f0d53eaeb68f1b68469926fd21acc6db",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"ref": "bleeding",
|
||||
"type": "git",
|
||||
"url": "https://tearforge.net/cry/cerulean"
|
||||
"owner": "cry128",
|
||||
"ref": "v0.2.5-alpha",
|
||||
"repo": "cerulean",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crane": {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
};
|
||||
|
||||
cerulean = {
|
||||
url = "git+https://tearforge.net/cry/cerulean?ref=bleeding";
|
||||
url = "github:cry128/cerulean/v0.2.5-alpha";
|
||||
inputs = {
|
||||
systems.follows = "systems";
|
||||
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 {
|
||||
nixpkgs.channels.default = {
|
||||
nixpkgs.channels = {
|
||||
upkgs.overlays = [
|
||||
(self: super: {
|
||||
amdgpu-ignore-ctx-privileges = super.fetchpatch {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{inputs, ...} @ args: {
|
||||
nixpkgs.channels = {
|
||||
default = {
|
||||
base = {
|
||||
overlays = [(import ./overlays.nix args)];
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
|
|
|||
19
snow.nix
19
snow.nix
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
cerulean,
|
||||
...
|
||||
} @ args: {
|
||||
{inputs, ...} @ args: {
|
||||
nodes = {
|
||||
base = inputs.nixpkgs;
|
||||
homeManager = inputs.home-manager;
|
||||
|
|
@ -53,9 +49,12 @@
|
|||
|
||||
# needed to get interface working
|
||||
qemu.extraArgs = [
|
||||
"-monitor" "unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait"
|
||||
"-chardev" "socket,id=serial1,path=/var/lib/microvms/home-assistant/serial.sock,server=on,wait=off"
|
||||
"-serial" "chardev:serial1"
|
||||
"-monitor"
|
||||
"unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait"
|
||||
"-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:
|
||||
|
|
@ -101,7 +100,7 @@
|
|||
deploy.ssh = {
|
||||
host = "10.16.1.163";
|
||||
port = 2222;
|
||||
user = "foxora";
|
||||
publicKeys = [];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -115,7 +114,7 @@
|
|||
deploy.ssh = {
|
||||
host = "10.16.1.58";
|
||||
port = 2222;
|
||||
user = "foxora";
|
||||
publicKeys = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue