got incus working again, changed wlan interface name, added hec wlan
This commit is contained in:
@@ -24,6 +24,9 @@
|
|||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
../users/me/gui.nix
|
../users/me/gui.nix
|
||||||
../users/root/default.nix
|
../users/root/default.nix
|
||||||
|
|
||||||
|
# see: https://github.com/NixOS/nixpkgs/issues/300081
|
||||||
|
"${inputs.nixpkgs-unstable}/nixos/modules/virtualisation/incus.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -35,7 +38,6 @@
|
|||||||
looking-glass-client
|
looking-glass-client
|
||||||
swtpm
|
swtpm
|
||||||
win-virtio
|
win-virtio
|
||||||
todoist-electron
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -247,7 +249,7 @@
|
|||||||
id = "htl";
|
id = "htl";
|
||||||
uuid = "0d3af539-9abd-4417-b882-cbff96fc3490";
|
uuid = "0d3af539-9abd-4417-b882-cbff96fc3490";
|
||||||
type = "wifi";
|
type = "wifi";
|
||||||
interface-name = "wlp2s0";
|
interface-name = "wlo1";
|
||||||
};
|
};
|
||||||
ipv4 = {
|
ipv4 = {
|
||||||
method = "auto";
|
method = "auto";
|
||||||
@@ -292,7 +294,7 @@
|
|||||||
id = "pw";
|
id = "pw";
|
||||||
uuid = "e0103dac-7da0-4e32-a01b-487b8c4c813c";
|
uuid = "e0103dac-7da0-4e32-a01b-487b8c4c813c";
|
||||||
type = "wifi";
|
type = "wifi";
|
||||||
interface-name = "wlp2s0";
|
interface-name = "wlo1";
|
||||||
};
|
};
|
||||||
|
|
||||||
wifi = {
|
wifi = {
|
||||||
@@ -313,13 +315,38 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hec = {
|
||||||
|
connection = {
|
||||||
|
id = "hec";
|
||||||
|
uuid = "a84fdbd8-af9c-4e2d-9185-7676e9d139f4";
|
||||||
|
type = "wifi";
|
||||||
|
interface-name = "wlo1";
|
||||||
|
};
|
||||||
|
|
||||||
|
wifi = {
|
||||||
|
hidden = "true";
|
||||||
|
mode = "infrastructure";
|
||||||
|
ssid = builtins.readFile "${secretsDir}/hec-wifi-ssid";
|
||||||
|
};
|
||||||
|
|
||||||
|
wifi-security = {
|
||||||
|
key-mgmt = "wpa-psk";
|
||||||
|
psk = builtins.readFile "${secretsDir}/hec-wifi-password";
|
||||||
|
};
|
||||||
|
|
||||||
|
ipv4 = {
|
||||||
|
#address1 = "192.168.20.11/24";
|
||||||
|
method = "auto";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
hot = {
|
hot = {
|
||||||
connection = {
|
connection = {
|
||||||
id = "hot";
|
id = "hot";
|
||||||
uuid = "ab51de8a-9742-465a-928b-be54a83ab6a3";
|
uuid = "ab51de8a-9742-465a-928b-be54a83ab6a3";
|
||||||
type = "wifi";
|
type = "wifi";
|
||||||
autoconnect = false;
|
autoconnect = false;
|
||||||
interface-name = "wlp2s0";
|
interface-name = "wlo1";
|
||||||
};
|
};
|
||||||
wifi = {
|
wifi = {
|
||||||
mac-address = "0C:96:E6:E3:64:03";
|
mac-address = "0C:96:E6:E3:64:03";
|
||||||
@@ -455,7 +482,16 @@
|
|||||||
#qemuOvmfPackage = pkgs.OVMFFull;
|
#qemuOvmfPackage = pkgs.OVMFFull;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# see: https://github.com/NixOS/nixpkgs/issues/300081
|
||||||
|
disabledModules = [ "virtualisation/incus.nix" ];
|
||||||
|
networking.nftables.enable = true;
|
||||||
|
# client package now separated...
|
||||||
|
virtualisation.incus.clientPackage = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux.incus;
|
||||||
virtualisation.incus.enable = true;
|
virtualisation.incus.enable = true;
|
||||||
|
#virtualisation.incus.package = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux.incus;
|
||||||
|
users.users.me.extraGroups = [ "incus-admin" ];
|
||||||
|
|
||||||
|
|
||||||
virtualisation.podman.enable = true;
|
virtualisation.podman.enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user