added AGENTS.md
This commit is contained in:
34
hosts/te.nix
34
hosts/te.nix
@@ -16,8 +16,15 @@ in {
|
||||
../users/me/gui.nix
|
||||
../users/root/default.nix
|
||||
../common/nixos-wayland.nix
|
||||
inputs.mize.nixosModules.default
|
||||
];
|
||||
|
||||
|
||||
mize.enable = true;
|
||||
mize.debugBinary = "/home/me/here/mize";
|
||||
mize.debugConfigFile = "/home/me/host/mize/config.toml";
|
||||
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
networking.hostName = "te";
|
||||
@@ -201,6 +208,7 @@ in {
|
||||
ExecStart = "${pkgs.writeShellScriptBin "run" ''
|
||||
name=$(ip link | awk -F: '/^[0-9]+: wl/ {print $2}' | sed 's/^ //')
|
||||
nmcli connection modify pw connection.interface-name $name
|
||||
nmcli connection modify gw connection.interface-name $name
|
||||
''}/bin/run";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
@@ -235,6 +243,32 @@ in {
|
||||
method = "auto";
|
||||
};
|
||||
};
|
||||
gw = {
|
||||
connection = {
|
||||
id = "gw";
|
||||
uuid = "de655c52-1af2-4b46-b7b2-8ddad9edb52f";
|
||||
type = "wifi";
|
||||
interface-name = "wlo1";
|
||||
autoconnect-priority = "300";
|
||||
};
|
||||
|
||||
wifi = {
|
||||
hidden = "true";
|
||||
mode = "infrastructure";
|
||||
ssid = builtins.readFile "${secretsDir}/gw-ssid";
|
||||
};
|
||||
|
||||
wifi-security = {
|
||||
key-mgmt = "wpa-psk";
|
||||
psk = builtins.readFile "${secretsDir}/gw-password";
|
||||
};
|
||||
|
||||
ipv4 = {
|
||||
#address1 = "192.168.20.11/24";
|
||||
dns = "100.88.218.34;";
|
||||
method = "auto";
|
||||
};
|
||||
};
|
||||
|
||||
pt = {
|
||||
connection = {
|
||||
|
||||
Reference in New Issue
Block a user