Dasha : Add Krita.

This commit is contained in:
Dmitry Voronin 2024-02-24 18:30:59 +03:00
parent bbe6a4ce67
commit af04c4d1ae
3 changed files with 8 additions and 7 deletions

View file

@ -54,7 +54,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./module/AmdGpu.nix ./module/AmdGpu.nix
./module/Flatpak.nix ./module/Desktop.nix
./module/Gnome.nix ./module/Gnome.nix
./module/IntelCpu.nix ./module/IntelCpu.nix
./module/PowersaveIntel.nix ./module/PowersaveIntel.nix
@ -70,7 +70,6 @@
./module/AmdGpu.nix ./module/AmdGpu.nix
./module/AmdCpu.nix ./module/AmdCpu.nix
./module/Desktop.nix ./module/Desktop.nix
# ./module/Flatpak.nix
./module/Gnome.nix ./module/Gnome.nix
./module/PowersaveAmd.nix ./module/PowersaveAmd.nix
./module/Print.nix ./module/Print.nix
@ -105,9 +104,9 @@
hostname = "laptop"; hostname = "laptop";
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./module/AmdGpu.nix
./module/AmdCpu.nix ./module/AmdCpu.nix
./module/Flatpak.nix ./module/AmdGpu.nix
./module/Desktop.nix
./module/Gnome.nix ./module/Gnome.nix
./module/PowersaveAmd.nix ./module/PowersaveAmd.nix
./module/Print.nix ./module/Print.nix
@ -133,7 +132,6 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./module/Desktop.nix ./module/Desktop.nix
# ./module/Flatpak.nix
./module/Gnome.nix ./module/Gnome.nix
./module/IntelCpu.nix ./module/IntelCpu.nix
./module/Powerlimit.nix ./module/Powerlimit.nix

View file

@ -1,3 +1,6 @@
{ ... }: { { pkgs, ... }: {
hardware.opentabletdriver.enable = true; hardware.opentabletdriver.enable = true;
environment.systemPackages = with pkgs; [
krita
];
} }

View file

@ -13,7 +13,7 @@ in {
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
script = '' script = ''
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
cat ${list} | cut -f2 | ${pkgs.parallel}/bin/parallel -j1 -- ${pkgs.flatpak}/bin/flatpak install -y --system {} [[ -f ${list}]] && cat ${list} | cut -f2 | ${pkgs.parallel}/bin/parallel -j1 -- ${pkgs.flatpak}/bin/flatpak install -y --system {}
''; '';
}; };
} }