mv basic gui utilities to module
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
./comm
|
||||
./displaymanager
|
||||
./vpn
|
||||
./utilities
|
||||
];
|
||||
|
||||
# Timzone and locales (same for all machines so I put it here)
|
||||
|
||||
@@ -24,6 +24,7 @@ in
|
||||
webcord.enable = true;
|
||||
sddm.enable = true;
|
||||
mullvad.enable = true;
|
||||
gui-utilities.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ in
|
||||
element.enable = true;
|
||||
sddm.enable = true;
|
||||
mullvad.enable = true;
|
||||
gui-utilities.enable = true;
|
||||
};
|
||||
services.logind.lidSwitch = "ignore";
|
||||
};
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./gui-utilities.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.gui-utilities.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "basic gui-utilities";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.gui-utilities.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
qalculate-qt
|
||||
baobab
|
||||
loupe
|
||||
gimp3
|
||||
wireshark
|
||||
audacity
|
||||
networkmanagerapplet
|
||||
gparted
|
||||
gnome-disk-utility
|
||||
vlc
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user