qenya: don't depend on nixos modules defined here
fixes build issue in randomcat's repo
This commit is contained in:
parent
8823cd9b36
commit
21fa41876a
|
@ -2,9 +2,10 @@
|
|||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
isGraphical = osConfig.services.xserver.enable;
|
||||
in
|
||||
{
|
||||
programs.firefox = lib.mkIf osConfig.qenya.base-graphical.enable {
|
||||
programs.firefox = lib.mkIf isGraphical {
|
||||
enable = true;
|
||||
|
||||
# coming in 24.11
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
let
|
||||
inherit (lib) optionals;
|
||||
isGraphical = osConfig.services.xserver.enable;
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
|
@ -12,7 +13,7 @@ in
|
|||
fortune
|
||||
cowsay
|
||||
lolcat
|
||||
] ++ optionals osConfig.qenya.base-graphical.enable [
|
||||
] ++ optionals isGraphical [
|
||||
bitwarden
|
||||
discord
|
||||
feishin
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
isGraphical = osConfig.services.xserver.enable;
|
||||
in
|
||||
{
|
||||
programs.vscode = mkIf osConfig.qenya.base-graphical.enable {
|
||||
programs.vscode = mkIf isGraphical {
|
||||
enable = true;
|
||||
enableExtensionUpdateCheck = false;
|
||||
enableUpdateCheck = false;
|
||||
|
|
Loading…
Reference in a new issue