fix: isgraphical option
This commit is contained in:
parent
02ff41c4fe
commit
4b656a99b5
1 changed files with 26 additions and 29 deletions
|
@ -54,8 +54,6 @@ rec {
|
|||
${target}."${host}" = builder {
|
||||
inherit system;
|
||||
modules = [
|
||||
(
|
||||
{ config, ... }:
|
||||
{
|
||||
options = {
|
||||
dotfiles = {
|
||||
|
@ -73,7 +71,7 @@ rec {
|
|||
"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";
|
||||
};
|
||||
};
|
||||
|
@ -85,7 +83,6 @@ rec {
|
|||
};
|
||||
config.networking.hostName = host;
|
||||
}
|
||||
)
|
||||
./common/shared
|
||||
./common/${hostPlatform}
|
||||
./${host}
|
||||
|
|
Loading…
Reference in a new issue