Compare commits
4 Commits
238572c37f
...
35e5f6dc86
Author | SHA1 | Date | |
---|---|---|---|
35e5f6dc86
|
|||
92cea04b24
|
|||
49709957f1
|
|||
436c807859
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user