Backup before server rebuild
This commit is contained in:
parent
ad4b1b1de4
commit
fbcdcf6cfd
24 changed files with 515 additions and 404 deletions
hosts/nixos/common
|
@ -2,8 +2,8 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
outputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -52,15 +52,6 @@ in
|
|||
boot.initrd.systemd.enable = true;
|
||||
# }}}
|
||||
|
||||
nixpkgs = {
|
||||
# Add all overlays defined in the overlays directory
|
||||
overlays =
|
||||
builtins.attrValues outputs.overlays
|
||||
++ lib.lists.optional config.satellite.toggles.neovim-nightly.enable inputs.neovim-nightly-overlay.overlay;
|
||||
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
# Root domain used throughout my config
|
||||
satellite.dns.domain = "moonythm.dev";
|
||||
}
|
||||
|
|
|
@ -2,4 +2,5 @@
|
|||
{
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
systemd.services.bluetooth.serviceConfig.ConfigurationDirectoryMode = "755";
|
||||
}
|
||||
|
|
|
@ -12,14 +12,17 @@
|
|||
};
|
||||
|
||||
# https://nixos.wiki/wiki/PipeWire
|
||||
environment.etc = {
|
||||
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||
bluez_monitor.properties = {
|
||||
["bluez5.enable-sbc-xq"] = true,
|
||||
["bluez5.enable-msbc"] = true,
|
||||
["bluez5.enable-hw-volume"] = true,
|
||||
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
|
||||
}
|
||||
'';
|
||||
services.pipewire.wireplumber.extraConfig.bluetoothEnhancements = {
|
||||
"monitor.bluez.properties" = {
|
||||
"bluez5.enable-sbc-xq" = true;
|
||||
"bluez5.enable-msbc" = true;
|
||||
"bluez5.enable-hw-volume" = true;
|
||||
"bluez5.roles" = [
|
||||
"hsp_hs"
|
||||
"hsp_ag"
|
||||
"hfp_hf"
|
||||
"hfp_ag"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,22 +8,22 @@
|
|||
fallbackToWPA2 = false;
|
||||
|
||||
# Declarative
|
||||
environmentFile = config.sops.secrets.wireless.path;
|
||||
secretsFile = config.sops.secrets.wireless.path;
|
||||
networks = {
|
||||
"Neptune".psk = "@ENCELADUS_HOTSPOT_PASS@";
|
||||
"Neptune".pskRaw = "ext:ENCELADUS_HOTSPOT_PASS";
|
||||
|
||||
"Familia-Matei-PRO".psk = "@TG_HOTSPOT_HOME_PASS@";
|
||||
"Familia-Matei".psk = "@TG_HOTSPOT_HOME_PASS@";
|
||||
"Familia-Matei-PRO".pskRaw = "ext:TG_HOTSPOT_HOME_PASS";
|
||||
"Familia-Matei".pskRaw = "ext:TG_HOTSPOT_HOME_PASS";
|
||||
|
||||
"R15-5365 5g".psk = "@TG_WIFI_HOME_PASS@";
|
||||
"R15-5365".psk = "@TG_WIFI_HOME_PASS@";
|
||||
"R15-5365 5g".pskRaw = "ext:TG_WIFI_HOME_PASS";
|
||||
"R15-5365".pskRaw = "ext:TG_WIFI_HOME_PASS";
|
||||
|
||||
"Sailhorse".psk = "@NL_PLACE_0_PASS@";
|
||||
"Ziggo1721699".psk = "@NL_PLACE_1_PASS@";
|
||||
"Konijntjes".psk = "@NL_PLACE_1_PODS_PASS@";
|
||||
"InfoEdu12".psk = "@INFOEDU_PASS@";
|
||||
"CNU19".psk = "@INFOEDU_PASS@";
|
||||
"ZTE_F7A321".psk = "@MADALINA_PASS@";
|
||||
"Sailhorse".pskRaw = "ext:NL_PLACE_0_PASS";
|
||||
"Ziggo1721699".pskRaw = "ext:NL_PLACE_1_PASS";
|
||||
"Konijntjes".pskRaw = "ext:NL_PLACE_1_PODS_PASS";
|
||||
"InfoEdu12".pskRaw = "ext:INFOEDU_PASS";
|
||||
"CNU19".pskRaw = "ext:INFOEDU_PASS";
|
||||
"ZTE_F7A321".pskRaw = "ext:MADALINA_PASS";
|
||||
|
||||
# [Working solution](https://bbs.archlinux.org/viewtopic.php?id=271336)
|
||||
# [Other interesting link](https://help.itc.rwth-aachen.de/en/service/b3d9a2c8ae5345b8b8f5128143ef4e3c/article/eaf6d69389a74a5a839c1f383c508df7/)
|
||||
|
@ -33,7 +33,7 @@
|
|||
auth = ''
|
||||
eap=PEAP
|
||||
identity="s5260329@rug.nl"
|
||||
password="@EDUROAM_PASS@"
|
||||
password="ext:EDUROAM_PASS"
|
||||
'';
|
||||
extraConfig = ''
|
||||
phase2="auth=MSCHAPV2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue