update
This commit is contained in:
parent
b30cff45db
commit
7cec90c2f2
|
@ -158,7 +158,15 @@
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
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 = {
|
programs.neovim = {
|
||||||
enable = false;
|
enable = false;
|
||||||
|
@ -179,7 +187,7 @@
|
||||||
|
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
languages = [];
|
languages.language = [];
|
||||||
settings = {
|
settings = {
|
||||||
theme = "base16_default";
|
theme = "base16_default";
|
||||||
editor = {
|
editor = {
|
||||||
|
|
|
@ -3,21 +3,22 @@
|
||||||
imports = [./desktop.nix];
|
imports = [./desktop.nix];
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
"com/gexperts/Tilix" = {
|
||||||
|
"focus-follow-mouse" = true;
|
||||||
|
};
|
||||||
"org/gnome/mutter" = {
|
"org/gnome/mutter" = {
|
||||||
|
"workspaces-only-on-primary" = true;
|
||||||
# display: partly scale (like 150% or 125%)
|
# display: partly scale (like 150% or 125%)
|
||||||
"experimental-features" = [ "scale-monitor-framebuffer" ];
|
"experimental-features" = [ "scale-monitor-framebuffer" ];
|
||||||
};
|
};
|
||||||
# key bindings
|
"org/gnome/desktop/input-sources" = {
|
||||||
"org/gnome/shell/keybindings" = {
|
"sources" = [
|
||||||
"switch-to-application-1" = [];
|
(lib.hm.gvariant.mkTuple ["xkb" "de"])
|
||||||
"switch-to-application-2" = [];
|
(lib.hm.gvariant.mkTuple ["xkb" "us"])
|
||||||
"switch-to-application-3" = [];
|
];
|
||||||
"switch-to-application-4" = [];
|
};
|
||||||
"switch-to-application-5" = [];
|
"org/gnome/desktop/sound" = {
|
||||||
"switch-to-application-6" = [];
|
"allow-volume-above-100-percent" = true;
|
||||||
"switch-to-application-7" = [];
|
|
||||||
"switch-to-application-8" = [];
|
|
||||||
"switch-to-application-9" = [];
|
|
||||||
};
|
};
|
||||||
"org/gnome/desktop/wm/keybindings" = {
|
"org/gnome/desktop/wm/keybindings" = {
|
||||||
"toggle-maximized" = [ "<Super>z" ];
|
"toggle-maximized" = [ "<Super>z" ];
|
||||||
|
@ -51,10 +52,40 @@
|
||||||
"move-to-workspace-9" = [ "<Shift><Super>9" ];
|
"move-to-workspace-9" = [ "<Shift><Super>9" ];
|
||||||
"move-to-workspace-10" = [ "<Shift><Super>0" ];
|
"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.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; [
|
home.packages = with pkgs; [
|
||||||
tilix
|
tilix
|
||||||
|
|
|
@ -427,7 +427,7 @@ exec_always "cat /proc/acpi/button/lid/*/state | grep -q open && swaymsg output
|
||||||
# xdg.portal.enable = true;
|
# xdg.portal.enable = true;
|
||||||
# xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
|
# xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
|
||||||
|
|
||||||
programs.mako = {
|
services.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = "monospace 7";
|
font = "monospace 7";
|
||||||
iconPath = "/home/genofire/.nix-profile/share/icons/Adwaita/:/home/genofire/.nix-profile/share/icons/hicolor/";
|
iconPath = "/home/genofire/.nix-profile/share/icons/Adwaita/:/home/genofire/.nix-profile/share/icons/hicolor/";
|
||||||
|
|
|
@ -31,13 +31,12 @@
|
||||||
# gotify-desktop # use ntfy.sh instatt
|
# gotify-desktop # use ntfy.sh instatt
|
||||||
# apps
|
# apps
|
||||||
virt-manager
|
virt-manager
|
||||||
lens
|
openlens
|
||||||
evince
|
evince
|
||||||
gthumb
|
gthumb
|
||||||
gnome.seahorse
|
gnome.seahorse
|
||||||
gnome.cheese
|
gnome.cheese
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
thunderbird-wayland
|
|
||||||
dino # xmpp
|
dino # xmpp
|
||||||
onlyoffice-bin
|
onlyoffice-bin
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
|
@ -53,10 +52,10 @@
|
||||||
})
|
})
|
||||||
python310Packages.keyring
|
python310Packages.keyring
|
||||||
graphviz-nox
|
graphviz-nox
|
||||||
# - tootle # mastodon
|
tootle # mastodon
|
||||||
# fractal # matrix
|
# fractal # matrix
|
||||||
# TODO fractal-next
|
fractal-next
|
||||||
# fluffychat
|
fluffychat
|
||||||
cozy # audiobooks
|
cozy # audiobooks
|
||||||
];
|
];
|
||||||
gtk = {
|
gtk = {
|
||||||
|
@ -117,4 +116,16 @@
|
||||||
# # package = pkgs.firefox-devedition-bin;
|
# # package = pkgs.firefox-devedition-bin;
|
||||||
# package = pkgs.librewolf;
|
# 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||||
|
inherit pkgs;
|
||||||
|
};
|
||||||
|
};
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
# package = pkgs.librewolf;
|
# package = pkgs.librewolf;
|
||||||
# package = pkgs.firefox-wayland;
|
# package = pkgs.firefox-wayland;
|
||||||
|
@ -17,7 +22,21 @@
|
||||||
#----
|
#----
|
||||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||||
"browser.newtabpage.activity-stream.showSponsored" = 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 = ''
|
userChrome = ''
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
gnome.networkmanager-openvpn
|
gnome.networkmanager-openvpn
|
||||||
gnome.gnome-power-manager
|
gnome.gnome-power-manager
|
||||||
gnomeExtensions.pop-shell
|
gnomeExtensions.pop-shell
|
||||||
gnomeExtensions.sound-output-device-chooser
|
|
||||||
];
|
];
|
||||||
programs.kdeconnect.package = pkgs.gnomeExtensions.gsconnect;
|
programs.kdeconnect.package = pkgs.gnomeExtensions.gsconnect;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,10 @@
|
||||||
## android-tools
|
## android-tools
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# syncthing
|
||||||
|
networking.firewall.allowedTCPPorts = [ 22000 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 22000 ];
|
||||||
|
|
||||||
programs.browserpass.enable = true;
|
programs.browserpass.enable = true;
|
||||||
|
|
||||||
# smartcard
|
# smartcard
|
||||||
|
|
Loading…
Reference in New Issue