Compare commits

..

No commits in common. "83d268e422d6761f0dca561ddb052bf1bfe644f9" and "675708d6952da4f0ca7e47926dd1322e8d7300b7" have entirely different histories.

7 changed files with 3 additions and 18 deletions

View file

@ -161,11 +161,6 @@ 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" 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 # swap
# fileSystems."/swap" = { # fileSystems."/swap" = {
# device = "/dev/disk/by-label/BTRFS_ROOT"; # device = "/dev/disk/by-label/BTRFS_ROOT";

View file

@ -18,7 +18,7 @@
}; };
streamingProcesses = 2; streamingProcesses = 2;
extraConfig.SINGLE_USER_MODE = "true"; extraConfig.SINGLE_USER_MODE = "true";
mediaAutoRemove.olderThanDays = 5; mediaAutoRemove.olderThanDays = 10;
}; };
age.secrets.phantom-mastodon-mailer-password = { age.secrets.phantom-mastodon-mailer-password = {

View file

@ -48,8 +48,6 @@ rec {
patches = ( patches = (
final: prev: { final: prev: {
mySway = prev.sway.override { mySway = prev.sway.override {
withBaseWrapper = true;
withGtkWrapper = true;
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: { sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
patches = old.patches ++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ]; patches = old.patches ++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
}); });

View file

@ -52,7 +52,7 @@
home.homeDirectory = "/home/lelgenio"; home.homeDirectory = "/home/lelgenio";
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; # programs.home-manager.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
# home-manager # home-manager

View file

@ -492,7 +492,6 @@ in
{ {
enable = true; enable = true;
defaultApplications = mimes; defaultApplications = mimes;
associations.added = mimes;
}; };
}; };
} }

View file

@ -146,7 +146,6 @@ in
wdmenu wdmenu
wlauncher wlauncher
volumesh volumesh
brightnessctl
showkeys showkeys
pamixer pamixer
libnotify libnotify

View file

@ -16,6 +16,7 @@ let
_lock = pkgs.writeShellScriptBin "_lock" '' _lock = pkgs.writeShellScriptBin "_lock" ''
${pkgs.sway}/bin/swaymsg mode default ${pkgs.sway}/bin/swaymsg mode default
${pkgs.swaylock}/bin/swaylock -f ${pkgs.swaylock}/bin/swaylock -f
systemctl --user start swayidle.service
''; '';
_suspend = pkgs.writeShellScriptBin "_suspend" '' _suspend = pkgs.writeShellScriptBin "_suspend" ''
${pkgs.sway}/bin/swaymsg mode default ${pkgs.sway}/bin/swaymsg mode default
@ -157,12 +158,6 @@ let
"Control+Print" = "exec ${pkgs.screenshotsh}/bin/screenshotsh clip"; "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 = { other_binds = {
"${mod}+p" = "exec ${pkgs.wpass}/bin/wpass"; "${mod}+p" = "exec ${pkgs.wpass}/bin/wpass";
"${mod}+s" = "exec ${menu}"; "${mod}+s" = "exec ${menu}";
@ -201,6 +196,5 @@ in
system_binds system_binds
parenting_binds parenting_binds
screenshot_binds screenshot_binds
screen_binds
]; ];
} }