Adding networking
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
{
|
||||
imports = [
|
||||
./wayland.nix
|
||||
./eww.nix
|
||||
./waybar.nix
|
||||
./login-tuigreeter.nix
|
||||
# ./login-lightdm.nix
|
||||
#./login-lightdm.nix
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
|
||||
@@ -1,28 +1,5 @@
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
{
|
||||
# Enable essential services for a Wayland session
|
||||
services.dbus.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
# XDG Desktop Portal settings for better application integration
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
config.common.default = [ "hyprland" "gtk" ];
|
||||
};
|
||||
|
||||
# Environment variables for a Wayland session
|
||||
environment.sessionVariables = {
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XCURSOR_SIZE = "24";
|
||||
};
|
||||
|
||||
# Home Manager Wayland configurations
|
||||
home-manager.users.${user.username} = {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user