This commit is contained in:
genofire 2023-06-14 18:41:21 +02:00
parent b30cff45db
commit 7cec90c2f2
7 changed files with 93 additions and 21 deletions

View File

@ -158,7 +158,15 @@
programs.git = {
enable = true;
extraConfig.init.defaultBranch = "main";
extraConfig = {
init.defaultBranch = "main";
filter.lfs = {
required = "true";
clean = "git-lfs clean -- %f";
smudge = "git-lfs smudge -- %f";
process = "git-lfs filter-process";
};
};
};
programs.neovim = {
enable = false;
@ -179,7 +187,7 @@
programs.helix = {
enable = true;
languages = [];
languages.language = [];
settings = {
theme = "base16_default";
editor = {

View File

@ -3,21 +3,22 @@
imports = [./desktop.nix];
dconf.settings = {
"com/gexperts/Tilix" = {
"focus-follow-mouse" = true;
};
"org/gnome/mutter" = {
"workspaces-only-on-primary" = true;
# display: partly scale (like 150% or 125%)
"experimental-features" = [ "scale-monitor-framebuffer" ];
};
# key bindings
"org/gnome/shell/keybindings" = {
"switch-to-application-1" = [];
"switch-to-application-2" = [];
"switch-to-application-3" = [];
"switch-to-application-4" = [];
"switch-to-application-5" = [];
"switch-to-application-6" = [];
"switch-to-application-7" = [];
"switch-to-application-8" = [];
"switch-to-application-9" = [];
"org/gnome/desktop/input-sources" = {
"sources" = [
(lib.hm.gvariant.mkTuple ["xkb" "de"])
(lib.hm.gvariant.mkTuple ["xkb" "us"])
];
};
"org/gnome/desktop/sound" = {
"allow-volume-above-100-percent" = true;
};
"org/gnome/desktop/wm/keybindings" = {
"toggle-maximized" = [ "<Super>z" ];
@ -51,10 +52,40 @@
"move-to-workspace-9" = [ "<Shift><Super>9" ];
"move-to-workspace-10" = [ "<Shift><Super>0" ];
};
"org/gnome/shell" = {
"enabled-extensions" = [
"places-menu@gnome-shell-extensions.gcampax.github.com"
"drive-menu@gnome-shell-extensions.gcampax.github.com"
"screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com"
"auto-move-windows@gnome-shell-extensions.gcampax.github.com"
"pop-shell@system76.com"
"gsconnect@andyholmes.github.io"
];
};
# key bindings
"org/gnome/shell/keybindings" = {
"switch-to-application-1" = [];
"switch-to-application-2" = [];
"switch-to-application-3" = [];
"switch-to-application-4" = [];
"switch-to-application-5" = [];
"switch-to-application-6" = [];
"switch-to-application-7" = [];
"switch-to-application-8" = [];
"switch-to-application-9" = [];
};
};
# programs.firefox.nativeMessagingHosts.gsconnect = true;
programs.firefox.enableGnomeExtensions = true;
# new/replace
# programs.firefox.enableGnomeExtensions = true;
# TODO hä services.gnome.gnome-browser-connector.enable = true;
# programs.firefox.package = pkgs.firefox.overwrite {
# cfg = {
# enableGnomeExtensions = true;
# };
#};
home.packages = with pkgs; [
tilix

View File

@ -427,7 +427,7 @@ exec_always "cat /proc/acpi/button/lid/*/state | grep -q open && swaymsg output
# xdg.portal.enable = true;
# xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
programs.mako = {
services.mako = {
enable = true;
font = "monospace 7";
iconPath = "/home/genofire/.nix-profile/share/icons/Adwaita/:/home/genofire/.nix-profile/share/icons/hicolor/";

View File

@ -31,13 +31,12 @@
# gotify-desktop # use ntfy.sh instatt
# apps
virt-manager
lens
openlens
evince
gthumb
gnome.seahorse
gnome.cheese
nextcloud-client
thunderbird-wayland
dino # xmpp
onlyoffice-bin
libreoffice-fresh
@ -53,10 +52,10 @@
})
python310Packages.keyring
graphviz-nox
# - tootle # mastodon
tootle # mastodon
# fractal # matrix
# TODO fractal-next
# fluffychat
fractal-next
fluffychat
cozy # audiobooks
];
gtk = {
@ -117,4 +116,16 @@
# # package = pkgs.firefox-devedition-bin;
# package = pkgs.librewolf;
};
programs.thunderbird = {
enable = true;
package = pkgs.thunderbird-wayland;
settings = {
"general.useragent.override" = "";
"privacy.donottrackheader.enabled" = true;
};
profiles.default = {
isDefault = true;
withExternalGnupg = true;
};
};
}

View File

@ -1,5 +1,10 @@
{ pkgs, ... }:
{
nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
};
programs.firefox = {
# package = pkgs.librewolf;
# package = pkgs.firefox-wayland;
@ -17,7 +22,21 @@
#----
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.newtabpage.activity-stream.showSponsored" = false;
#----
"privacy.donottrackheader.enabled" = true;
# all cockies from cross-site blocked
"network.cookie.cookieBehavior" = 1;
# tracking in all tabs
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.cryptomining.enabled" = true;
"privacy.trackingprotection.fingerprinting.enabled" = true;
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
# ublock-origin
# umatrix
# browserpass-ce
# tree-style-tab
];
userChrome = ''
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

View File

@ -24,7 +24,6 @@
gnome.networkmanager-openvpn
gnome.gnome-power-manager
gnomeExtensions.pop-shell
gnomeExtensions.sound-output-device-chooser
];
programs.kdeconnect.package = pkgs.gnomeExtensions.gsconnect;
}

View File

@ -34,6 +34,10 @@
## android-tools
];
# syncthing
networking.firewall.allowedTCPPorts = [ 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 ];
programs.browserpass.enable = true;
# smartcard