treewide: replace enableGUI with config.me.gui
This commit is contained in:
parent
3ccf85aa9e
commit
571f0f6f3e
6 changed files with 15 additions and 15 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue