1
0
Fork 0
forked from foxora/nix

nixcon 2026 <3

This commit is contained in:
do butterflies cry? 2026-02-18 17:31:22 +10:00
parent d1113e546c
commit b7eb55c821
7 changed files with 105 additions and 106 deletions

View file

@ -3,9 +3,7 @@ cerulean.mkNexus ./. (self: {
nexus = {
args = {inherit inputs;};
modules = with inputs; [
home-manager.nixosModules.home-manager
];
modules = with inputs; [];
base = inputs.nixpkgs;
@ -18,12 +16,11 @@ cerulean.mkNexus ./. (self: {
(self.nexus)
groups
;
in
{
in {
nixarawrui = {
system = "x86_64-linux";
base = inputs.nixpkgs-unstable;
# base = inputs.nixpkgs-unstable;
modules = with inputs; [
sddm-silent.nixosModules.default
@ -46,7 +43,7 @@ cerulean.mkNexus ./. (self: {
autostart = true;
config = {
imports = [ ./vms/home-assistant/default.nix ];
imports = [./vms/home-assistant/default.nix];
networking.hostName = "home-assistant";
@ -59,26 +56,32 @@ cerulean.mkNexus ./. (self: {
mem = 4096; # 4GB
vcpu = 2;
interfaces = [{
type = "tap";
id = "vm-hass";
mac = "0a:00:a0:70:01:01";
}];
interfaces = [
{
type = "tap";
id = "vm-hass";
mac = "0a:00:a0:70:01:01";
}
];
volumes = [{
image = "/var/lib/microvms/home-assistant/data.img";
mountPoint = "/var/lib/hass";
size = 16384; # 16GB
}];
volumes = [
{
image = "/var/lib/microvms/home-assistant/data.img";
mountPoint = "/var/lib/hass";
size = 16384; # 16GB
}
];
};
networking = {
interfaces.eth0 = {
useDHCP = false;
ipv4.addresses = [{
address = "10.16.1.127";
prefixLength = 24;
}];
ipv4.addresses = [
{
address = "10.16.1.127";
prefixLength = 24;
}
];
};
};
};