mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Rename module wlan to wifi
This commit is contained in:
parent
091f6a0e91
commit
9fb0508028
2 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,7 @@
|
|||
dm.tuigreet.enable = true;
|
||||
de.hyprland.enable = true;
|
||||
|
||||
wlan.enable = true;
|
||||
wifi.enable = true;
|
||||
bluetooth.enable = true;
|
||||
sound.enable = true;
|
||||
virtualisation.enable = true;
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@ let
|
|||
];
|
||||
in
|
||||
{
|
||||
options.custom.wlan.enable = lib.mkEnableOption "";
|
||||
options.custom.wifi.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.wlan.enable (
|
||||
config = lib.mkIf config.custom.wifi.enable (
|
||||
lib.mkMerge (
|
||||
lib.flatten [
|
||||
{
|
||||
|
|
@ -34,7 +34,7 @@ in
|
|||
|
||||
(lib.forEach networks (name: {
|
||||
sops.secrets."iwd/${name}" = { };
|
||||
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"C /var/lib/iwd/${name} - - - - ${config.sops.secrets."iwd/${name}".path}"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue