more WM
Some checks failed
Nix Build / build-nixos (push) Failing after 22s

This commit is contained in:
soraefir
2024-04-14 22:24:23 +02:00
parent e325d82f34
commit 52423ffdad
7 changed files with 20 additions and 17 deletions

View File

@ -1,7 +1,6 @@
{ lib, config, pkgs, ... }:
let cfg = config.syscfg.make.gui;
in {
config = lib.mkIf cfg {
{
config = lib.mkIf (config.syscfg.make.gui) {
services.greetd = {
enable = true;

View File

@ -1,13 +1,15 @@
{ pkgs, ... }: {
xdg.portal = {
enable = true;
# wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
config.common.default = [ "hyprland" "gtk" ];
config = lib.mkIf (config.syscfg.make.gui) {
xdg.portal = {
enable = true;
# wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
config.common.default = [ "hyprland" "gtk" ];
};
};
environment.sessionVariables = rec {

View File

@ -4,7 +4,7 @@ let
username = mkOption { type = types.str; };
wm = mkOption {
type = types.enum [ "Wayland" "X11" "-"];
default = "Wayland";
default = "-";
};
git = {
username = mkOption { type = types.str; };