move packages to own module

This commit is contained in:
Kopatz
2024-12-09 10:59:30 +01:00
parent 26314d37e1
commit 4bfcb5dacd
6 changed files with 41 additions and 24 deletions

View File

@@ -0,0 +1,35 @@
{ config, pkgs, inputs, lib, ... }:
with lib;
let cfg = config.custom.graphical.basics;
in {
options.custom.graphical.basics = {
enable = mkEnableOption "Enables basics";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
keepassxc
discord
gvfs
remmina
thunderbird
localsend
#element-desktop
krita
libreoffice
#anki TODO broken because pyqt6 build fails
p7zip
qbittorrent
brightnessctl
#wacomtablet
pinta # paint
#qalculate-qt # calculator TODO build broken
#libsForQt5.kcalc
#syncthingtray #doesnt work with socket yet
v4l-utils
logseq # notes
ani-cli
mangal
];
};
}

View File

@@ -26,5 +26,6 @@
./shared.nix
./nightlight.nix
./xfce.nix
./basics.nix
];
}

View File

@@ -19,8 +19,8 @@ in {
};
environment.systemPackages = [ pkgs.mangohud ]
++ optionals cfg.enablePreinstalled (with pkgs; [
taisei
osu-lazer-bin
#taisei
#osu-lazer-bin
wineWowPackages.unstableFull
winetricks
lutris

View File

@@ -64,31 +64,9 @@ in {
# $ nix search wget
environment.systemPackages = with pkgs; [
keepassxc
discord
#vesktop
gvfs
remmina
thunderbird
localsend
#element-desktop
krita
libreoffice
screenshot
#anki TODO broken because pyqt6 build fails
p7zip
qbittorrent
brightnessctl
#wacomtablet
wl-clipboard
pinta # paint
#qalculate-qt # calculator TODO build broken
#libsForQt5.kcalc
#syncthingtray #doesnt work with socket yet
v4l-utils
logseq # notes
xarchiver # archive tool
ani-cli
mangal
adwaita-icon-theme
];
};

View File

@@ -34,6 +34,8 @@
i3.enable = true;
xfce.enable = true;
shared.enable = true;
games.enable = true;
basics.enable = true;
};
};
mainUser.layout = "de";

View File

@@ -74,6 +74,7 @@
#gnome.enable = true;
#cosmic.enable = true;
shared.enable = true;
basics.enable = true;
stylix.enable = true;
};
};