Adding networking

This commit is contained in:
2026-03-14 12:29:41 +01:00
parent 8df20fcd79
commit 1274d0e1f0
68 changed files with 556 additions and 1262 deletions
+3 -1
View File
@@ -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;