Compare commits
4 Commits
238572c37f
...
35e5f6dc86
Author | SHA1 | Date | |
---|---|---|---|
35e5f6dc86
|
|||
92cea04b24
|
|||
49709957f1
|
|||
436c807859
|
@ -7,7 +7,6 @@
|
||||
./services/tailscale.nix
|
||||
./system/desktop/gnome.nix
|
||||
./system/desktop/hyprland.nix
|
||||
./system/desktop/mimeapps.nix
|
||||
./system/wireless.nix
|
||||
];
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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;
|
@ -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
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user