home writes nmconfig and .ssl

This commit is contained in:
nx2
2024-03-06 16:23:06 +01:00
parent a3b3ddd80b
commit d2457e5135
3 changed files with 14 additions and 10 deletions

View File

@@ -60,14 +60,8 @@
#hardware.pulseaudio.enable = true; #hardware.pulseaudio.enable = true;
# rtkit is optional but recommended # rtkit is optional but recommended
security = { security.rtkit.enable = true;
rtkit.enable = true;
pki.certificates = [
secrets.easyroamHSMW.clientKey
secrets.easyroamHSMW.clientCert
secrets.easyroamHSMW.rootCa
];
};
services.pipewire = { services.pipewire = {

View File

@@ -88,8 +88,18 @@
# }; # };
# Home Manager is pretty good at managing dotfiles. The primary way to manage # NETWORKING
# plain files is through 'home.file'. home.file = {
# easyroam HSMW
".ssl/easyroam_client_cert.pem".source = ./secrets/easyroam-hsmw/easyroam_client_cert.pem;
".ssl/easyroam_root_ca.pem".source = ./secrets/easyroam-hsmw/easyroam_root_ca.pem;
".ssl/easyroam_client_key.pem".source = ./secrets/easyroam-hsmw/easyroam_client_key.pem;
};
networking.networkmanager.extraConfig = concatStringsSep "\n" [
secrets.eduroamHSMW.nmconfig
];
home.file = { home.file = {
# ".config/libinput/gestures".text = '' # ".config/libinput/gestures".text = ''