add restic binary on bolty

This commit is contained in:
Cyryl Płotnicki 2022-01-25 22:27:36 +00:00
parent 0e7e64aac2
commit 7e0c8ca020
3 changed files with 88 additions and 88 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ restic ];
networking.firewall.allowedTCPPorts = [ 8000 ]; networking.firewall.allowedTCPPorts = [ 8000 ];
services.restic.server = { services.restic.server = {
enable = true; enable = true;

View file

@ -2,92 +2,92 @@
let let
unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system}; unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
in in
{ {
programs.firejail.enable = true; programs.firejail.enable = true;
programs.firejail.wrappedBinaries = { programs.firejail.wrappedBinaries = {
firefox = { firefox = {
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox"; executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
profile = "${pkgs.firejail}/etc/firejail/firefox.profile"; profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
}; };
chromium = { chromium = {
executable = "${pkgs.lib.getBin pkgs.chromium}/bin/chromium"; executable = "${pkgs.lib.getBin pkgs.chromium}/bin/chromium";
profile = "${pkgs.firejail}/etc/firejail/chromium.profile"; profile = "${pkgs.firejail}/etc/firejail/chromium.profile";
};
};
home-manager.users.cyryl = { ... }: {
gtk = {
enable = true;
iconTheme = {
name = "Adwaita";
package = pkgs.gnome3.adwaita-icon-theme;
}; };
}; };
qt = {
home-manager.users.cyryl = { ... }: { enable = true;
gtk = { platformTheme = "gnome";
enable = true; style.name = "adwaita-dark";
iconTheme = { style.package = pkgs.adwaita-qt;
name = "Adwaita";
package = pkgs.gnome3.adwaita-icon-theme;
};
};
qt = {
enable = true;
platformTheme = "gnome";
style.name = "adwaita-dark";
style.package = pkgs.adwaita-qt;
};
imports = [
./vscode.nix
./firejail.nix
];
home.packages = with pkgs; with pkgs.gnome3; with pkgs.python38Packages; [
anarchism
apvlv
binwalk-full
brave
cheese
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
obs-studio
openscad
passff-host
pdfarranger
qcad
qemu
remmina
shotwell
signal-desktop
simple-scan
slack
spotify
ssb-patchwork
tlaplusToolbox
tlaps
vlc
wineFull
wireshark
wsjtx
xclip
xidlehook
yubico-piv-tool
yubikey-manager-qt
yubikey-personalization
yubikey-personalization-gui
zoom-us
];
}; };
}
imports = [
./vscode.nix
./firejail.nix
];
home.packages = with pkgs; with pkgs.gnome3; with pkgs.python38Packages; [
anarchism
apvlv
binwalk-full
brave
cheese
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
obs-studio
openscad
passff-host
pdfarranger
qcad
qemu
remmina
shotwell
signal-desktop
simple-scan
slack
spotify
ssb-patchwork
tlaplusToolbox
tlaps
vlc
wineFull
wireshark
wsjtx
xclip
xidlehook
yubico-piv-tool
yubikey-manager-qt
yubikey-personalization
yubikey-personalization-gui
zoom-us
];
};
}

View file

@ -5,4 +5,4 @@
ignore apparmor ignore apparmor
ignore noexec '' + "$" + "{HOME}"; ignore noexec '' + "$" + "{HOME}";
} }