fix: isgraphical option

This commit is contained in:
winston 2024-08-13 01:39:14 +02:00
parent 02ff41c4fe
commit 4b656a99b5
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -54,8 +54,6 @@ rec {
${target}."${host}" = builder { ${target}."${host}" = builder {
inherit system; inherit system;
modules = [ modules = [
(
{ config, ... }:
{ {
options = { options = {
dotfiles = { dotfiles = {
@ -73,7 +71,7 @@ rec {
"sway" "sway"
] ]
); );
default = if (pkgs.stdenv.isLinux && config.dotfiles.isGraphical) then "sway" else null; default = if (pkgs.stdenv.isLinux && isGraphical) then "sway" else null;
description = "The desktop environment to use"; description = "The desktop environment to use";
}; };
}; };
@ -85,7 +83,6 @@ rec {
}; };
config.networking.hostName = host; config.networking.hostName = host;
} }
)
./common/shared ./common/shared
./common/${hostPlatform} ./common/${hostPlatform}
./${host} ./${host}