Roles: Add new school role
This commit is contained in:
parent
3645370498
commit
551c3e2b11
4 changed files with 32 additions and 0 deletions
|
|
@ -212,6 +212,7 @@
|
|||
./roles/desktop
|
||||
./roles/kde
|
||||
./roles/gaming
|
||||
./roles/school
|
||||
];
|
||||
Everest = {
|
||||
stable = true;
|
||||
|
|
@ -223,6 +224,7 @@
|
|||
};
|
||||
iMac.modules = [
|
||||
./roles/desktop
|
||||
./roles/school
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
6
roles/school/default.nix
Normal file
6
roles/school/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
# ./programs
|
||||
./services
|
||||
];
|
||||
}
|
||||
5
roles/school/services/default.nix
Normal file
5
roles/school/services/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./networkmanager.nix
|
||||
];
|
||||
}
|
||||
19
roles/school/services/networkmanager.nix
Normal file
19
roles/school/services/networkmanager.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{...}: {
|
||||
networking.networkmanager.ensureProfiles = {
|
||||
profiles."school-wifi" = {
|
||||
connection = {
|
||||
id = "Progresa";
|
||||
type = "wifi";
|
||||
};
|
||||
wifi = {
|
||||
mode = "infrastructure";
|
||||
ssid = ".Progresa Invitados";
|
||||
};
|
||||
wifi-security = {
|
||||
auth-alg = "open";
|
||||
key-mgmt = "wpa-psk";
|
||||
psk = "$SCHOOL";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue