Compare commits
No commits in common. "f3787cdc755ba024b4dcecdced0f16508ef801d0" and "d672adb440302e89fd0d19658e606a8b53611975" have entirely different histories.
f3787cdc75
...
d672adb440
3 changed files with 1 additions and 59 deletions
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -166,21 +166,9 @@
|
||||||
"neovim-dotfiles": "neovim-dotfiles",
|
"neovim-dotfiles": "neovim-dotfiles",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"plasma-manager": "plasma-manager",
|
"plasma-manager": "plasma-manager",
|
||||||
"secrets": "secrets",
|
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"secrets": {
|
|
||||||
"locked": {
|
|
||||||
"path": "./secrets",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"path": "./secrets",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
"parent": []
|
|
||||||
},
|
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
|
|
||||||
41
flake.nix
41
flake.nix
|
|
@ -28,7 +28,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
assets.url = "git+https://dario48.site/git/Dario48/NixOs.git?ref=assets";
|
assets.url = "git+https://dario48.site/git/Dario48/NixOs.git?ref=assets";
|
||||||
secrets.url = "./secrets";
|
|
||||||
};
|
};
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
|
|
@ -190,45 +189,7 @@
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager = {
|
networking.networkmanager.enable = true;
|
||||||
enable = true;
|
|
||||||
ensureProfiles.profiles = {
|
|
||||||
eduroam = {
|
|
||||||
connection = {
|
|
||||||
id = "eduroam";
|
|
||||||
type = "wifi";
|
|
||||||
interface-name = "wlo1"; # # replace with your interface-name as displayed by "ip a"
|
|
||||||
};
|
|
||||||
wifi = {
|
|
||||||
mode = "infrastructure";
|
|
||||||
ssid = "eduroam";
|
|
||||||
};
|
|
||||||
wifi-security = {
|
|
||||||
group = "ccmp";
|
|
||||||
pairwise = "ccmp";
|
|
||||||
proto = "rsn";
|
|
||||||
key-mgmt = "wpa-eap";
|
|
||||||
};
|
|
||||||
"802-1x" = {
|
|
||||||
altsubject_match = "DNS:eduroam.unimi.it";
|
|
||||||
# # not all or even some additional values may be needed here according to your institution
|
|
||||||
eap = "peap"; # # adapt according to your universities setup
|
|
||||||
anonimous-identity = inputs.secrets.eduroam.username;
|
|
||||||
identity = inputs.secrets.eduroam.username;
|
|
||||||
password = inputs.secrets.eduroam.password;
|
|
||||||
phase2-auth = "mschapv2";
|
|
||||||
ca-cert = "/etc/ssl/certs/eduroam/cert.pem";
|
|
||||||
ca-path = "/etc/ssl/certs/eduroam/";
|
|
||||||
};
|
|
||||||
ipv4 = {
|
|
||||||
method = "auto";
|
|
||||||
};
|
|
||||||
ipv6 = {
|
|
||||||
method = "auto";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Rome";
|
time.timeZone = "Europe/Rome";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
outputs =
|
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
private-key-password = "...";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue