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

@ -12,7 +12,7 @@
];
};
home-manager.users.hana = { config, enableGUI, lib, pkgs, ... }: {
home-manager.users.hana = { config, lib, pkgs, ... }: {
home = {
username = "hana";
homeDirectory = "/home/hana";

View file

@ -1,4 +1,4 @@
{ config, lib, modules, pkgs, ... }: {
{ config, modules, pkgs, ... }: {
programs.zsh.enable = true;
users.users.rin = {
isNormalUser = true;
@ -7,7 +7,7 @@
uid = 1001;
hashedPasswordFile = config.age.secrets.passwd.path;
};
home-manager.users.rin = { config, enableGUI, lib, pkgs, ... }: {
home-manager.users.rin = { config, lib, pkgs, ... }: {
home = {
username = "rin";
homeDirectory = "/home/rin";
@ -26,7 +26,7 @@
neovim
npm
zsh
] ++ lib.optionals enableGUI [
] ++ lib.optionals config.me.gui [
theming
xdg

View file

@ -1,4 +1,4 @@
{ enableGUI, inputs, pkgs, ... }:
{ config, inputs, pkgs, ... }:
let
dotnet-combined = (with pkgs.dotnetCorePackages; combinePackages [
dotnet_8.sdk
@ -25,7 +25,7 @@ in {
yt-dlp
nodePackages_latest.pnpm
] ++ lib.optionals enableGUI [
] ++ lib.optionals config.me.gui [
drawio
element-desktop
eww