mv basic gui utilities to module

This commit is contained in:
smayzy 2025-07-10 16:28:08 +02:00
parent 168492c26b
commit 3864013e1a
6 changed files with 35 additions and 10 deletions

View File

@ -20,27 +20,17 @@
font-awesome
thunderbird
lf
qalculate-qt
baobab
arduino-ide
piper
calibre
loupe
gimp3
base16-schemes
tor
wireshark
tshark
freecad-wayland
aegisub
audacity
mpv
fritzing
networkmanagerapplet
gparted
gnome-disk-utility
sl
vlc
];
services.ratbagd.enable = true;

View File

@ -16,6 +16,7 @@
./comm
./displaymanager
./vpn
./utilities
];
# Timzone and locales (same for all machines so I put it here)

View File

@ -24,6 +24,7 @@ in
webcord.enable = true;
sddm.enable = true;
mullvad.enable = true;
gui-utilities.enable = true;
};
};
}

View File

@ -24,6 +24,7 @@ in
element.enable = true;
sddm.enable = true;
mullvad.enable = true;
gui-utilities.enable = true;
};
services.logind.lidSwitch = "ignore";
};

View File

@ -0,0 +1,6 @@
{ lib, config, pkgs, ... }:
{
imports = [
./gui-utilities.nix
];
}

View File

@ -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
];
};
}