odds and ends
- switch to swaync - skanpage only on gui setups - relatime mounting - firefox hardware accelforce enabled in config
This commit is contained in:
parent
570e6e658a
commit
984fe942d3
6 changed files with 14 additions and 7 deletions
|
@ -50,7 +50,11 @@ in
|
|||
DontCheckDefaultBrowser = true;
|
||||
Preferences = lib.mkMerge ([{
|
||||
"pdfjs.enableScripting" = false;
|
||||
|
||||
"media.hardware-video-decoding.enabled" = true;
|
||||
"media.ffmpeg.vaapi.enabled" = true;
|
||||
"media.rdd-ffmpeg.enabled" = true;
|
||||
"media.navigator.mediadatadecoder_vpx_enabled" = true;
|
||||
}]
|
||||
++ lib.optional cfg.sway.enable { "browser.tabs.inTitlebar" = 0; }
|
||||
);
|
||||
|
|
|
@ -21,6 +21,7 @@ in
|
|||
qt6ct
|
||||
libsForQt5.dolphin
|
||||
papirus-icon-theme
|
||||
kdePackages.kirigami
|
||||
];
|
||||
|
||||
# environment.etc."kvantum".source = "${pkgs.catppuccin-kvantum}/share/Kvantum";
|
||||
|
|
|
@ -15,9 +15,9 @@ in
|
|||
services.printing.cups-pdf.enable = true;
|
||||
hardware.sane.brscan4.enable = true; # enables support for SANE scanners
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
skanpage
|
||||
];
|
||||
environment.systemPackages = with pkgs; (lib.optionals cfg.graphical [
|
||||
kdePackages.skanpage
|
||||
]);
|
||||
};
|
||||
|
||||
options.grimmShared.printing = with lib; mkOption {
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
};
|
||||
};
|
||||
cloudSync = {
|
||||
enable = true;
|
||||
# enable = true;
|
||||
username = "Grimmauld";
|
||||
server = "cloud.grimmauld.de";
|
||||
passwordFile = config.age.secrets.nextcloud_pass.path;
|
||||
|
|
|
@ -18,13 +18,14 @@
|
|||
{
|
||||
device = "/dev/disk/by-uuid/3a4a7076-98e7-4ecd-bb07-7e182a04ceac";
|
||||
fsType = "ext4";
|
||||
options = [ "relatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/D20D-B5B0";
|
||||
fsType = "vfat";
|
||||
options = [ "umask=077" ];
|
||||
options = [ "umask=077" "relatime" ];
|
||||
};
|
||||
|
||||
swapDevices = [{
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
brightnessctl
|
||||
wl-clipboard
|
||||
swaymux
|
||||
dunst
|
||||
qt6ct
|
||||
swaynotificationcenter
|
||||
];
|
||||
|
||||
grimmShared.sway = {
|
||||
|
@ -145,7 +145,7 @@
|
|||
"blueman-applet"
|
||||
"lxqt-policykit-agent"
|
||||
"otd-daemon"
|
||||
dunst
|
||||
swaynotificationcenter
|
||||
(pkgs.writeShellScriptBin "rmenu-cache-clear" "rm -r $HOME/.cache/rmenu") # invalidate rmenu cache on sway restart
|
||||
"dbus-update-activation-environment"
|
||||
];
|
||||
|
@ -175,6 +175,7 @@
|
|||
|
||||
for_window [app_id="swaymux"] floating enable
|
||||
for_window [app_id="rmenu"] floating enable
|
||||
for_window [app_id="firefox.*" title="Picture-in-Picture"] floating enable
|
||||
for_window [app_id="lxqt-policykit-agent"] floating enable;
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue