treewide: replace enableGUI with config.me.gui

This commit is contained in:
LavaDesu 2025-03-23 12:57:20 +11:00
parent 3ccf85aa9e
commit 571f0f6f3e
Signed by: cilly
GPG key ID: 6500251E087653C9
6 changed files with 15 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{ config, enableGUI, inputs, modules, ... }: {
{ config, inputs, modules, ... }: {
imports = [
inputs.home-manager.nixosModules.home-manager
];
@ -6,7 +6,7 @@
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit enableGUI inputs modules;
inherit inputs modules;
sysConfig = config;
};
sharedModules = [

View file

@ -1,4 +1,4 @@
{ config, enableGUI, lib, pkgs, ... }: {
{ config, lib, pkgs, ... }: {
environment.systemPackages = with pkgs; [
comma
ecryptfs
@ -16,13 +16,13 @@
sshfs
rsync
wget
] ++ lib.optionals enableGUI [
] ++ lib.optionals config.me.gui [
gparted
nautilus
];
environment.variables.EDITOR = "nvim";
}
// (if !enableGUI then {} else {
// (if !config.me.gui then {} else {
programs.adb.enable = true;
hardware.graphics.extraPackages = with pkgs; [
vaapiIntel