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
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue