feat: multiple xD look bellow

- clean up login stuff
- add uwsm
- move "no-x" to system_profiles
- clean up hyprland.nix
This commit is contained in:
Ranomier 2025-09-07 23:27:01 +02:00
parent 461a4b0146
commit cf9395d91d
8 changed files with 78 additions and 60 deletions

View file

@ -1,10 +1,12 @@
{
imports = [
./login
./apparmor.nix
./firejail.nix
./login-manager.nix
./ssh-client.nix
#./ssh-server.nix
./sudo-rs.nix
./uwsm.nix
];
}

View file

@ -0,0 +1,6 @@
{
imports = [
./login-manager.nix
./uwsm.nix
];
}

View file

@ -0,0 +1,3 @@
{
programs.uwsm.enable = true;
}

View file

@ -0,0 +1,3 @@
{
programs.uwsm.enable = true;
}

View file

@ -2,12 +2,6 @@
#imports = [
# ./components/rofi.nix
#];
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
services.xserver.enable = false;
# force chromium and electron apps to use wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
xdg = {
portal = {
@ -20,38 +14,37 @@
];
};
};
# Enable the hyprland window manager with additions
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
systemd.setPath.enable = true;
#package = pkgs.unstable.hyprland;
systemd.setPath.enable = true;
withUWSM = true;
xwayland.enable = true;
};
hyprlock = {
enable = true;
#package = pkgs.unstable.hyprlock;
};
};
services.hypridle = {
services = {
hypridle = {
enable = true;
#package = pkgs.unstable.hypridle;
};
# for mounting stuff, also needs a auth agent like lxqt.lxqt-policykit
services.gvfs.enable = true;
gvfs.enable = true;
};
#qt = {
# enable = true;
# platformTheme = "qt5ct";
# style = "kvantum";
#};
environment = {
pathsToLink = ["/share/foot"];
environment.pathsToLink = ["/share/foot"];
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
systemPackages = with pkgs; [
hyprsunset
hyprpolkitagent
hyprutils
@ -92,4 +85,5 @@
# file manager
nautilus
];
};
}

View file

@ -0,0 +1,9 @@
{
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
services.xserver.enable = false;
# force chromium and electron apps to use wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}

View file

@ -2,6 +2,7 @@
imports = [
./components/home-manager.nix
./components/nix-defaults.nix
./components/no-x.nix
#./components/nixpkgs-ng.nix
./importers/desktop.nix