chore: moved wayland packages to a higher level

This commit is contained in:
Nick 2025-02-04 14:06:49 -06:00
parent 812c022cfe
commit 544171fde9
10 changed files with 46 additions and 38 deletions

View file

@ -1,13 +1,6 @@
{ {
imports = map (file: ./${file}.nix) [ imports = map (file: ./${file}.nix) [
"geoclue2"
"greetd"
"network"
"hypridle" "hypridle"
"hyprland" "hyprland"
"regreet"
"swaylock"
"thunar"
"wayland"
]; ];
} }

View file

@ -1,29 +0,0 @@
{
config,
flake,
lib,
...
}: let
inherit
(flake.config.people)
user0
;
in {
services = {
greetd = {
enable = true;
vt = 7;
settings = let
default_session = {
command = "${lib.meta.getExe config.programs.hyprland.package}";
user = user0;
};
in {
inherit
default_session
;
initial_session = default_session;
};
};
};
}

View file

@ -0,0 +1,11 @@
{
imports = map (file: ./${file}.nix) [
"geoclue2"
"greetd"
"network"
"regreet"
"swaylock"
"thunar"
"wayland"
];
}

View file

@ -0,0 +1,32 @@
{
config,
flake,
lib,
...
}:
let
inherit (flake.config.people)
user0
;
in
{
services = {
greetd = {
enable = true;
vt = 7;
settings =
let
default_session = {
command = "${lib.meta.getExe config.programs.hyprland.package}";
user = user0;
};
in
{
inherit
default_session
;
initial_session = default_session;
};
};
};
}

View file

@ -1,4 +1,5 @@
{pkgs, ...}: { { pkgs, ... }:
{
programs.thunar = { programs.thunar = {
enable = true; enable = true;
plugins = [ plugins = [

View file

@ -10,7 +10,7 @@
extraPortals = builtins.attrValues { extraPortals = builtins.attrValues {
inherit (pkgs) inherit (pkgs)
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland # xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
; ;
}; };