mv basic gui utilities to module
This commit is contained in:
parent
168492c26b
commit
3864013e1a
@ -20,27 +20,17 @@
|
|||||||
font-awesome
|
font-awesome
|
||||||
thunderbird
|
thunderbird
|
||||||
lf
|
lf
|
||||||
qalculate-qt
|
|
||||||
baobab
|
|
||||||
arduino-ide
|
arduino-ide
|
||||||
piper
|
piper
|
||||||
calibre
|
calibre
|
||||||
loupe
|
|
||||||
gimp3
|
|
||||||
base16-schemes
|
base16-schemes
|
||||||
tor
|
tor
|
||||||
wireshark
|
|
||||||
tshark
|
tshark
|
||||||
freecad-wayland
|
freecad-wayland
|
||||||
aegisub
|
aegisub
|
||||||
audacity
|
|
||||||
mpv
|
mpv
|
||||||
fritzing
|
fritzing
|
||||||
networkmanagerapplet
|
|
||||||
gparted
|
|
||||||
gnome-disk-utility
|
|
||||||
sl
|
sl
|
||||||
vlc
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.ratbagd.enable = true;
|
services.ratbagd.enable = true;
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
./comm
|
./comm
|
||||||
./displaymanager
|
./displaymanager
|
||||||
./vpn
|
./vpn
|
||||||
|
./utilities
|
||||||
];
|
];
|
||||||
|
|
||||||
# Timzone and locales (same for all machines so I put it here)
|
# Timzone and locales (same for all machines so I put it here)
|
||||||
|
|||||||
@ -24,6 +24,7 @@ in
|
|||||||
webcord.enable = true;
|
webcord.enable = true;
|
||||||
sddm.enable = true;
|
sddm.enable = true;
|
||||||
mullvad.enable = true;
|
mullvad.enable = true;
|
||||||
|
gui-utilities.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,6 +24,7 @@ in
|
|||||||
element.enable = true;
|
element.enable = true;
|
||||||
sddm.enable = true;
|
sddm.enable = true;
|
||||||
mullvad.enable = true;
|
mullvad.enable = true;
|
||||||
|
gui-utilities.enable = true;
|
||||||
};
|
};
|
||||||
services.logind.lidSwitch = "ignore";
|
services.logind.lidSwitch = "ignore";
|
||||||
};
|
};
|
||||||
|
|||||||
6
modules/nix/utilities/default.nix
Normal file
6
modules/nix/utilities/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./gui-utilities.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
26
modules/nix/utilities/gui-utilities.nix
Normal file
26
modules/nix/utilities/gui-utilities.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user