2022-03-02 12:45:32 +00:00
|
|
|
{ config, pkgs, discord, inputs, nixpkgs-nixos-unstable-and-unfree, ... }:
|
2022-03-10 12:25:23 +00:00
|
|
|
let unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
|
|
|
|
in {
|
2022-01-25 22:27:36 +00:00
|
|
|
programs.firejail.enable = true;
|
|
|
|
programs.firejail.wrappedBinaries = {
|
|
|
|
firefox = {
|
|
|
|
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
|
|
|
|
profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
|
2022-01-15 09:38:11 +00:00
|
|
|
};
|
2022-01-25 22:27:36 +00:00
|
|
|
chromium = {
|
|
|
|
executable = "${pkgs.lib.getBin pkgs.chromium}/bin/chromium";
|
|
|
|
profile = "${pkgs.firejail}/etc/firejail/chromium.profile";
|
|
|
|
};
|
|
|
|
};
|
2022-01-15 09:38:11 +00:00
|
|
|
|
2022-03-06 10:01:07 +00:00
|
|
|
security.chromiumSuidSandbox.enable = true;
|
|
|
|
|
2022-01-25 22:27:36 +00:00
|
|
|
home-manager.users.cyryl = { ... }: {
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
iconTheme = {
|
|
|
|
name = "Adwaita";
|
|
|
|
package = pkgs.gnome3.adwaita-icon-theme;
|
2020-07-25 10:09:10 +01:00
|
|
|
};
|
2022-01-25 22:27:36 +00:00
|
|
|
};
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
platformTheme = "gnome";
|
|
|
|
style.name = "adwaita-dark";
|
|
|
|
style.package = pkgs.adwaita-qt;
|
|
|
|
};
|
2020-07-25 10:09:10 +01:00
|
|
|
|
2022-03-10 12:25:23 +00:00
|
|
|
imports = [ ./firejail.nix ];
|
2020-07-25 10:09:10 +01:00
|
|
|
|
2022-03-10 12:25:23 +00:00
|
|
|
home.packages = with pkgs;
|
|
|
|
with pkgs.gnome3;
|
|
|
|
with pkgs.python38Packages;
|
|
|
|
[
|
|
|
|
anarchism
|
|
|
|
binwalk-full
|
|
|
|
brave
|
|
|
|
cheese
|
|
|
|
digikam
|
|
|
|
electrum
|
|
|
|
element-desktop
|
|
|
|
eog
|
|
|
|
evince
|
|
|
|
fontconfig
|
|
|
|
freecad
|
|
|
|
ghidra-bin
|
|
|
|
gimp
|
|
|
|
glxinfo
|
|
|
|
gnome-screenshot
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
inkscape
|
|
|
|
libreoffice
|
|
|
|
mindforger
|
|
|
|
modem-manager-gui
|
|
|
|
nautilus
|
|
|
|
nyxt
|
|
|
|
obs-studio
|
|
|
|
openscad
|
|
|
|
passff-host
|
|
|
|
pdfarranger
|
|
|
|
qcad
|
|
|
|
qemu
|
|
|
|
remmina
|
|
|
|
shotwell
|
|
|
|
signal-desktop
|
|
|
|
simple-scan
|
|
|
|
ssb-patchwork
|
|
|
|
tlaplusToolbox
|
|
|
|
tlaps
|
|
|
|
vlc
|
|
|
|
wineFull
|
|
|
|
wireshark
|
|
|
|
wsjtx
|
|
|
|
xclip
|
|
|
|
xidlehook
|
|
|
|
yubico-piv-tool
|
|
|
|
yubikey-manager-qt
|
|
|
|
yubikey-personalization
|
|
|
|
yubikey-personalization-gui
|
2022-03-24 20:59:56 +00:00
|
|
|
] ++ [ unstable.gnucash ] ++ [
|
2022-03-10 12:25:23 +00:00
|
|
|
nixpkgs-nixos-unstable-and-unfree.discord
|
|
|
|
nixpkgs-nixos-unstable-and-unfree.hopper
|
|
|
|
nixpkgs-nixos-unstable-and-unfree.slack
|
|
|
|
nixpkgs-nixos-unstable-and-unfree.spotify
|
|
|
|
nixpkgs-nixos-unstable-and-unfree.zoom-us
|
|
|
|
];
|
2022-01-25 22:27:36 +00:00
|
|
|
};
|
|
|
|
}
|