Added networking
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable NetworkManager
|
||||
services.NetworkManager = {
|
||||
enable = true;
|
||||
dhcpcd.enable = false; # Ensure dhcpcd is disabled to avoid conflicts
|
||||
};
|
||||
|
||||
# Install NetworkManager and wofi
|
||||
environment.systemPackages = with pkgs; [
|
||||
networkmanager
|
||||
wofi
|
||||
];
|
||||
|
||||
# Ensure the user is in the necessary groups
|
||||
users.users.${config.users.users."henrov".username} = {
|
||||
extraGroups = [ "networkmanager" ];
|
||||
};
|
||||
}
|
||||
@@ -17,6 +17,7 @@
|
||||
./audio.nix
|
||||
./xdg.nix
|
||||
./session.nix
|
||||
./networking.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user