gnome: Improve quality of life
This commit is contained in:
parent
201a3b8aa1
commit
8f7f3add88
6 changed files with 99 additions and 16 deletions
BIN
assets/screenshot.png
vendored
BIN
assets/screenshot.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.8 MiB |
8
flake.lock
generated
8
flake.lock
generated
|
@ -244,11 +244,11 @@
|
||||||
},
|
},
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737589360,
|
"lastModified": 1746041665,
|
||||||
"narHash": "sha256-s4tCUlvzXpQQ1wJ7ZcslfVuszmQlmnp7bnoZRdnBZuw=",
|
"narHash": "sha256-8j4PSYVf0lLV7QCEMxbJcSidP82tGTR/UUOCRg0lcFs=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "2cfed436d84594b4d4a73843095c75c644628dfe",
|
"rev": "4243708e72569b4568b774bddb251954d4c51447",
|
||||||
"revCount": 4,
|
"revCount": 5,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@git.caem.dev/caem/secrets.git"
|
"url": "ssh://git@git.caem.dev/caem/secrets.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,13 +18,13 @@ in {
|
||||||
"image/png" = "org.gnome.Loupe.desktop";
|
"image/png" = "org.gnome.Loupe.desktop";
|
||||||
"image/tiff" = "org.gnome.Loupe.desktop";
|
"image/tiff" = "org.gnome.Loupe.desktop";
|
||||||
"image/webp" = "org.gnome.Loupe.desktop";
|
"image/webp" = "org.gnome.Loupe.desktop";
|
||||||
"video/mp4" = "umpv.desktop";
|
"video/mp4" = "mpv.desktop";
|
||||||
"video/mpeg" = "umpv.desktop";
|
"video/mpeg" = "mpv.desktop";
|
||||||
"video/ogg" = "umpv.desktop";
|
"video/ogg" = "mpv.desktop";
|
||||||
"video/webm" = "umpv.desktop";
|
"video/webm" = "mpv.desktop";
|
||||||
"video/x-matroska" = "umpv.desktop";
|
"video/x-matroska" = "mpv.desktop";
|
||||||
"video/x-msvideo" = "umpv.desktop";
|
"video/x-msvideo" = "mpv.desktop";
|
||||||
"video/quicktime" = "umpv.desktop";
|
"video/quicktime" = "mpv.desktop";
|
||||||
"x-scheme-handler/mailto" = "tutanota-desktop.desktop";
|
"x-scheme-handler/mailto" = "tutanota-desktop.desktop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -61,10 +61,21 @@ in {
|
||||||
accent-directories.extensionUuid
|
accent-directories.extensionUuid
|
||||||
just-perfection.extensionUuid
|
just-perfection.extensionUuid
|
||||||
quick-settings-tweaker.extensionUuid
|
quick-settings-tweaker.extensionUuid
|
||||||
|
mpris-label.extensionUuid
|
||||||
|
weather-or-not.extensionUuid
|
||||||
|
dash-to-dock.extensionUuid
|
||||||
|
rounded-window-corners-reborn.extensionUuid
|
||||||
|
unite.extensionUuid
|
||||||
];
|
];
|
||||||
favorite-apps = [
|
favorite-apps = [
|
||||||
"firefox-esr.desktop"
|
"firefox-esr.desktop"
|
||||||
|
"emacs.desktop"
|
||||||
"com.mitchellh.ghostty.desktop"
|
"com.mitchellh.ghostty.desktop"
|
||||||
|
"signal-desktop.desktop"
|
||||||
|
"vesktop.desktop"
|
||||||
|
"tutanota-desktop.desktop"
|
||||||
|
"element-desktop.desktop"
|
||||||
|
"tidal-hifi.desktop"
|
||||||
"org.gnome.Nautilus.desktop"
|
"org.gnome.Nautilus.desktop"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -73,10 +84,60 @@ in {
|
||||||
events-button = false;
|
events-button = false;
|
||||||
quick-settings-dark-mode = false;
|
quick-settings-dark-mode = false;
|
||||||
world-clock = false;
|
world-clock = false;
|
||||||
|
panel-size = 28;
|
||||||
};
|
};
|
||||||
"org/gnome/shell/extensions/quick-settings-tweaks" = {
|
"org/gnome/shell/extensions/quick-settings-tweaks" = {
|
||||||
notifications-enabled = false;
|
notifications-enabled = false;
|
||||||
};
|
};
|
||||||
|
"org/gnome/shell/extensions/mpris-label" = {
|
||||||
|
divider-string = " - ";
|
||||||
|
extension-index = 0;
|
||||||
|
extension-place = "right";
|
||||||
|
icon-padding = 5;
|
||||||
|
left-padding = 0;
|
||||||
|
right-padding = 0;
|
||||||
|
second-field = "xesam:title";
|
||||||
|
use-whitelisted-sources-only = true;
|
||||||
|
mpris-sources-whitelist = "tidal-hifi";
|
||||||
|
};
|
||||||
|
"org/gnome/shell/extensions/unite" = {
|
||||||
|
extend-left-box = false;
|
||||||
|
greyscale-try-icons = false;
|
||||||
|
hide-activities-button = "never";
|
||||||
|
hide-app-menu-icon = false;
|
||||||
|
hide-window-titlebars = "never";
|
||||||
|
notifications-position = "center";
|
||||||
|
reduce-panel-spacing = true;
|
||||||
|
show-appmenu-button = true;
|
||||||
|
show-desktop-name = false;
|
||||||
|
show-window-buttons = "never";
|
||||||
|
show-window-title = "never";
|
||||||
|
use-activities-text = false;
|
||||||
|
};
|
||||||
|
"org/gnome/shell/extensions/weatherornot" = {
|
||||||
|
position = "right";
|
||||||
|
};
|
||||||
|
"org/gnome/shell/extensions/dash-to-dock" = {
|
||||||
|
always-center-icons = false;
|
||||||
|
apply-custom-theme = false;
|
||||||
|
background-color = "rgb(27,27,27)";
|
||||||
|
custom-background-color = true;
|
||||||
|
background-opacity = 0.95;
|
||||||
|
custom-theme-shrink = true;
|
||||||
|
dash-max-icon-size = 48;
|
||||||
|
dock-fixed = true;
|
||||||
|
dock-position = "LEFT";
|
||||||
|
extend-height = true;
|
||||||
|
height-fraction = 0.9;
|
||||||
|
hide-tooltip = false;
|
||||||
|
hot-keys = false;
|
||||||
|
show-apps-always-in-the-edge = true;
|
||||||
|
show-mounts = false;
|
||||||
|
show-icons-emblems = true;
|
||||||
|
show-show-apps-button = true;
|
||||||
|
show-trash = false;
|
||||||
|
transparency-mode = "FIXED";
|
||||||
|
};
|
||||||
"org/gnome/desktop/wm/preferences" = {
|
"org/gnome/desktop/wm/preferences" = {
|
||||||
audible-bell = false;
|
audible-bell = false;
|
||||||
num-workspaces = 9;
|
num-workspaces = 9;
|
||||||
|
|
|
@ -42,7 +42,11 @@
|
||||||
accent-directories
|
accent-directories
|
||||||
just-perfection
|
just-perfection
|
||||||
quick-settings-tweaker
|
quick-settings-tweaker
|
||||||
forge
|
mpris-label
|
||||||
|
weather-or-not
|
||||||
|
dash-to-dock
|
||||||
|
rounded-window-corners-reborn
|
||||||
|
unite
|
||||||
]);
|
]);
|
||||||
|
|
||||||
environment.persistence."/nix/persist" = {
|
environment.persistence."/nix/persist" = {
|
||||||
|
|
|
@ -4,6 +4,24 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
tor-browser
|
tor-browser
|
||||||
firefox-esr
|
firefox-esr
|
||||||
|
(pkgs.makeDesktopItem {
|
||||||
|
name = "org.mozilla.firefox-esr";
|
||||||
|
desktopName = "Firefox ESR";
|
||||||
|
exec = "firefox-esr %U";
|
||||||
|
icon = "firefox-esr";
|
||||||
|
comment = "Browse the Web";
|
||||||
|
categories = [ "Network" "WebBrowser" ];
|
||||||
|
startupNotify = true;
|
||||||
|
mimeTypes = [
|
||||||
|
"text/html"
|
||||||
|
"text/xml"
|
||||||
|
"application/xhtml+xml"
|
||||||
|
"application/vnd.mozilla.xul+xml"
|
||||||
|
"x-scheme-handler/http"
|
||||||
|
"x-scheme-handler/https"
|
||||||
|
"x-scheme-handler/ftp"
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.persistence."/nix/persist" = {
|
environment.persistence."/nix/persist" = {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Shamelessly stolen most parts from here:
|
|
||||||
# https://github.com/ryan4yin/nix-config/blob/7deed26cc5a3af2072b8c89a688f265607babc80/hardening/nixpaks/firefox.nix
|
|
||||||
# https://github.com/schizofox/schizofox/blob/cdf69b2a445ff12680657a3bd44ce7c406bf2ae6/flake/modules/home-manager/default.nix
|
|
||||||
|
|
||||||
# NOTE: This overlay package is not compatible with the `programs.firefox` module
|
# NOTE: This overlay package is not compatible with the `programs.firefox` module
|
||||||
# for both NixOS and home-manager. If you want to modify the configuration of
|
# for both NixOS and home-manager. If you want to modify the configuration of
|
||||||
# Firefox, you have to do it through modifying the overrides for the intermediary
|
# Firefox, you have to do it through modifying the overrides for the intermediary
|
||||||
# package below. This configuration already sets sane defaults so it shouldn't be needed
|
# package below. This configuration already sets sane defaults so it shouldn't be needed
|
||||||
# but it is there in case you want it.
|
# but it is there in case you want it.
|
||||||
|
|
||||||
|
# Shamelessly stolen most parts from here:
|
||||||
|
# https://github.com/ryan4yin/nix-config/blob/7deed26cc5a3af2072b8c89a688f265607babc80/hardening/nixpaks/firefox.nix
|
||||||
|
# https://github.com/schizofox/schizofox/blob/cdf69b2a445ff12680657a3bd44ce7c406bf2ae6/flake/modules/home-manager/default.nix
|
||||||
|
|
||||||
{ cfgPath, ... }: final: prev: {
|
{ cfgPath, ... }: final: prev: {
|
||||||
firefox-esr = let
|
firefox-esr = let
|
||||||
intermediary-firefox-esr = let
|
intermediary-firefox-esr = let
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue