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 ./services/tailscale.nix
./system/desktop/gnome.nix ./system/desktop/gnome.nix
./system/desktop/hyprland.nix ./system/desktop/hyprland.nix
./system/desktop/mimeapps.nix
./system/wireless.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 = { input = {
kb_layout = "gb"; kb_layout = "us";
kb_options = "caps:super"; kb_options = "caps:super";
follow_mouse = 1; follow_mouse = 1;
sensitivity = 0; sensitivity = 0;
}; };
device = { device = {
name = "epic-mouse-v1"; name = "mx-anywhere-3s-mouse";
sensitivity = -0.5; sensitivity = -0.5;
}; };
@ -222,10 +222,6 @@ in
}; };
}; };
dconf.settings."org/gnome/desktop/interface" = {
gtk-theme = "adw-gtk3-dark";
};
fonts.fontconfig.defaultFonts.sansSerif = [ fonts.fontconfig.defaultFonts.sansSerif = [
"SF Pro Text" "SF Pro Text"
]; ];
@ -255,7 +251,7 @@ in
cursor = { cursor = {
name = "macOS"; name = "macOS";
package = pkgs.apple-cursor; package = pkgs.apple-cursor;
size = 26; size = 28;
}; };
fonts = { fonts = {
@ -275,15 +271,17 @@ in
dark = "MoreWaita"; dark = "MoreWaita";
light = "MoreWaita"; light = "MoreWaita";
}; };
targets.gtk.enable = true;
}; };
home.packages = with pkgs.unstable; [ home.packages = with pkgs.unstable; [
adw-gtk3
anyrun anyrun
clipse clipse
dunst dunst
kitty kitty
libsForQt5.qtstyleplugin-kvantum libsForQt5.qtstyleplugin-kvantum
loupe
mpv mpv
qadwaitadecorations qadwaitadecorations
qadwaitadecorations-qt6 qadwaitadecorations-qt6

View File

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

View File

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