From 7366d8efbef2715124120f646d4bbe73a3b739ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 30 Oct 2021 09:26:14 +0100 Subject: [PATCH] add tor browser --- nixos/gui/default.nix | 140 ++++++++++++++++++++++-------------------- 1 file changed, 72 insertions(+), 68 deletions(-) diff --git a/nixos/gui/default.nix b/nixos/gui/default.nix index a3b68829..7c4562cd 100644 --- a/nixos/gui/default.nix +++ b/nixos/gui/default.nix @@ -1,71 +1,75 @@ -{ config, pkgs, ... }: -{ - home-manager.users.cyryl = {...}: { - gtk = { - enable = true; - iconTheme = { - name = "Adwaita"; - package = pkgs.gnome3.adwaita-icon-theme; +{ config, pkgs, inputs, ... }: +let + unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system}; +in + { + home-manager.users.cyryl = {...}: { + gtk = { + enable = true; + iconTheme = { + name = "Adwaita"; + package = pkgs.gnome3.adwaita-icon-theme; + }; + }; + qt = { + enable = true; + platformTheme = "gnome"; + style.name = "adwaita-dark"; + style.package = pkgs.adwaita-qt; }; - }; - qt = { - enable = true; - platformTheme = "gnome"; - style.name = "adwaita-dark"; - style.package = pkgs.adwaita-qt; - }; - imports = [ - ./vscode.nix - ]; + imports = [ + ./vscode.nix + ]; - home.packages = with pkgs; with pkgs.gnome3; with pkgs.python38Packages; [ - anarchism - apvlv - binwalk-full - brave - digikam - discord - electrum - element-desktop - eog - evince - fontconfig - freecad - ghidra-bin - gimp - glxinfo - gnome-screenshot - gsettings-desktop-schemas - hopper - inkscape - keybase-gui - libreoffice - mindforger - modem-manager-gui - nautilus - nyxt - openscad - passff-host - pdfarranger - qcad - qemu - shotwell - signal-desktop - simple-scan - slack - spotify - ssb-patchwork - vlc - wineFull - wireshark - xclip - xidlehook - yubico-piv-tool - yubikey-manager-qt - yubikey-personalization - yubikey-personalization-gui - zoom-us - ]; - }; -} + home.packages = with pkgs; with pkgs.gnome3; with pkgs.python38Packages; [ + anarchism + apvlv + binwalk-full + brave + digikam + discord + electrum + element-desktop + eog + evince + fontconfig + freecad + ghidra-bin + gimp + glxinfo + gnome-screenshot + gsettings-desktop-schemas + hopper + inkscape + keybase-gui + libreoffice + mindforger + modem-manager-gui + nautilus + nyxt + openscad + passff-host + pdfarranger + qcad + qemu + shotwell + signal-desktop + simple-scan + slack + spotify + ssb-patchwork + unstable.tor-browser-bundle-bin + vlc + wineFull + wireshark + xclip + xidlehook + yubico-piv-tool + yubikey-manager-qt + yubikey-personalization + yubikey-personalization-gui + zoom-us + ]; + }; + }