4 Commits

Author SHA1 Message Date
35e5f6dc86 mimeapps: move to user config
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m3s
2025-05-10 14:37:46 +01:00
92cea04b24 hyprland: add loupe image viewer 2025-05-10 14:20:47 +01:00
49709957f1 stylix: use gtk target 2025-05-10 11:03:11 +01:00
436c807859 hyprland: update config 2025-05-10 11:02:51 +01:00
4 changed files with 13 additions and 24 deletions

View File

@ -7,7 +7,6 @@
./services/tailscale.nix
./system/desktop/gnome.nix
./system/desktop/hyprland.nix
./system/desktop/mimeapps.nix
./system/wireless.nix
];
}

View File

@ -136,17 +136,17 @@ in
];
};
monitor = "desc:Dell Inc. DELL U3219Q HPTP413, preferred, auto, 1.2";
monitor = "desc:Dell Inc. DELL U3219Q HPTP413, preferred, auto, 1";
input = {
kb_layout = "gb";
kb_layout = "us";
kb_options = "caps:super";
follow_mouse = 1;
sensitivity = 0;
};
device = {
name = "epic-mouse-v1";
name = "mx-anywhere-3s-mouse";
sensitivity = -0.5;
};
@ -222,10 +222,6 @@ in
};
};
dconf.settings."org/gnome/desktop/interface" = {
gtk-theme = "adw-gtk3-dark";
};
fonts.fontconfig.defaultFonts.sansSerif = [
"SF Pro Text"
];
@ -255,7 +251,7 @@ in
cursor = {
name = "macOS";
package = pkgs.apple-cursor;
size = 26;
size = 28;
};
fonts = {
@ -275,15 +271,17 @@ in
dark = "MoreWaita";
light = "MoreWaita";
};
targets.gtk.enable = true;
};
home.packages = with pkgs.unstable; [
adw-gtk3
anyrun
clipse
dunst
kitty
libsForQt5.qtstyleplugin-kvantum
loupe
mpv
qadwaitadecorations
qadwaitadecorations-qt6

View File

@ -1,24 +1,15 @@
{
config,
lib,
...
}:
let
cfg = config.modules.system.desktop.mimeapps;
avApp = "io.github.celluloid_player.Celluloid.desktop";
imageApp = "org.gnome.eog.desktop";
avApp = "mpv.desktop";
imageApp = "org.gnome.Loupe.desktop";
in
{
options.modules.system.desktop.mimeapps = {
enable = lib.mkOption {
default = false;
example = true;
};
};
config = lib.mkIf cfg.enable {
xdg.mime.defaultApplications = {
xdg.mimeApps = {
enable = true;
defaultApplications = {
# Audio/video
"audio/x-vorbis+ogg" = avApp;
"audio/3gpp" = avApp;

View File

@ -8,6 +8,7 @@
./common/optional/graphical/firefox.nix
./common/optional/graphical/hyprland
./common/optional/graphical/libreoffice.nix
./common/optional/graphical/mimeapps.nix
./common/optional/graphical/thunderbird.nix
];