mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:26:12 +01:00
networking
This commit is contained in:
@@ -147,6 +147,7 @@
|
|||||||
gnome.seahorse
|
gnome.seahorse
|
||||||
lmstudio
|
lmstudio
|
||||||
unstable.arduino-ide
|
unstable.arduino-ide
|
||||||
|
iwgtk
|
||||||
];
|
];
|
||||||
|
|
||||||
services.gnome-keyring = {
|
services.gnome-keyring = {
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
../common
|
../common
|
||||||
./gui.nix
|
./gui.nix
|
||||||
./bluetooth.nix
|
./bluetooth.nix
|
||||||
|
./networking.nix
|
||||||
|
|
||||||
# Import your generated (nixos-generate-config) hardware configuration
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|||||||
32
hosts/thor/networking.nix
Normal file
32
hosts/thor/networking.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
outputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
networking.networkmanager.wifi.backend = "iwd";
|
||||||
|
|
||||||
|
networking.wireless.iwd = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
General = {
|
||||||
|
EnableNetworkConfiguration = true;
|
||||||
|
UseDefaultInterface = true;
|
||||||
|
};
|
||||||
|
Settings = {
|
||||||
|
AutoConnect = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# system.activationScripts = {
|
||||||
|
# rfkillUnblockWlan = {
|
||||||
|
# text = ''
|
||||||
|
# rfkill unblock wlan
|
||||||
|
# '';
|
||||||
|
# deps = [];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user