Compare commits
6 commits
675708d695
...
83d268e422
Author | SHA1 | Date | |
---|---|---|---|
83d268e422 | |||
f44b2cd53d | |||
ada392b3f3 | |||
bb023ea24a | |||
670c7d3629 | |||
c98c2cd0db |
|
@ -161,6 +161,11 @@ in
|
|||
ACTION=="add|change", KERNEL=="sd[a-z]*[0-9]*|mmcblk[0-9]*p[0-9]*|nvme[0-9]*n[0-9]*p[0-9]*", ATTR{../queue/scheduler}="mq-deadline"
|
||||
'';
|
||||
|
||||
boot.tmp = {
|
||||
cleanOnBoot = true;
|
||||
useTmpfs = true;
|
||||
};
|
||||
|
||||
# swap
|
||||
# fileSystems."/swap" = {
|
||||
# device = "/dev/disk/by-label/BTRFS_ROOT";
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
};
|
||||
streamingProcesses = 2;
|
||||
extraConfig.SINGLE_USER_MODE = "true";
|
||||
mediaAutoRemove.olderThanDays = 10;
|
||||
mediaAutoRemove.olderThanDays = 5;
|
||||
};
|
||||
|
||||
age.secrets.phantom-mastodon-mailer-password = {
|
||||
|
|
|
@ -48,6 +48,8 @@ rec {
|
|||
patches = (
|
||||
final: prev: {
|
||||
mySway = prev.sway.override {
|
||||
withBaseWrapper = true;
|
||||
withGtkWrapper = true;
|
||||
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
||||
patches = old.patches ++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
||||
});
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
home.homeDirectory = "/home/lelgenio";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
# programs.home-manager.enable = true;
|
||||
programs.home-manager.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
# home-manager
|
||||
|
||||
|
|
|
@ -492,6 +492,7 @@ in
|
|||
{
|
||||
enable = true;
|
||||
defaultApplications = mimes;
|
||||
associations.added = mimes;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -146,6 +146,7 @@ in
|
|||
wdmenu
|
||||
wlauncher
|
||||
volumesh
|
||||
brightnessctl
|
||||
showkeys
|
||||
pamixer
|
||||
libnotify
|
||||
|
|
|
@ -16,7 +16,6 @@ let
|
|||
_lock = pkgs.writeShellScriptBin "_lock" ''
|
||||
${pkgs.sway}/bin/swaymsg mode default
|
||||
${pkgs.swaylock}/bin/swaylock -f
|
||||
systemctl --user start swayidle.service
|
||||
'';
|
||||
_suspend = pkgs.writeShellScriptBin "_suspend" ''
|
||||
${pkgs.sway}/bin/swaymsg mode default
|
||||
|
@ -158,6 +157,12 @@ let
|
|||
"Control+Print" = "exec ${pkgs.screenshotsh}/bin/screenshotsh clip";
|
||||
};
|
||||
|
||||
screen_binds = {
|
||||
"XF86MonBrightnessDown" = "exec brightnessctl --min-value=1 set 5%-";
|
||||
"XF86MonBrightnessUp" = "exec brightnessctl --min-value=1 set 5%+";
|
||||
"${mod}+l" = lib.getExe _lock;
|
||||
};
|
||||
|
||||
other_binds = {
|
||||
"${mod}+p" = "exec ${pkgs.wpass}/bin/wpass";
|
||||
"${mod}+s" = "exec ${menu}";
|
||||
|
@ -196,5 +201,6 @@ in
|
|||
system_binds
|
||||
parenting_binds
|
||||
screenshot_binds
|
||||
screen_binds
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue