Archived
1
0

23.05 changes 🚀

This commit is contained in:
Gürkan 2023-06-05 22:54:26 +02:00
parent e381f661dd
commit f3f9e1b3aa
5 changed files with 23 additions and 18 deletions

View File

@ -26,7 +26,10 @@ in
boot = {
loader = {
systemd-boot.enable = true;
systemd-boot = {
enable = true;
consoleMode = "auto";
};
efi.canTouchEfiVariables = true;
};
plymouth = {
@ -102,7 +105,7 @@ in
};
hardware = {
video.hidpi.enable = lib.mkDefault true;
# video.hidpi.enable = lib.mkDefault true;
sensor.iio.enable = true;
printers.ensurePrinters = secrets.officePrinters;
};

View File

@ -28,13 +28,15 @@ in
time.timeZone = "Europe/Berlin";
boot = {
tmpOnTmpfs = true;
tmp = {
useTmpfs = true;
cleanOnBoot = true;
};
kernel.sysctl = {
"kernel.pty.max" = 24000;
"kernel.sysrq" = 1;
"vm.swappiness" = 0;
};
cleanTmpDir = true;
};
services = {
@ -54,3 +56,4 @@ in
'';
};
}
# vim: set ts=2 sw=2 tw=0 et :

View File

@ -36,9 +36,9 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
config.pipewire-pulse."context.exec" = [
{ "path" = "${pkgs.pulseaudio}/bin/pactl"; "args" = "load-module module-switch-on-connect blacklist=\"USB|Dock\""; }
];
# config.pipewire-pulse."context.exec" = [
# { "path" = "${pkgs.pulseaudio}/bin/pactl"; "args" = "load-module module-switch-on-connect blacklist=\"USB|Dock\""; }
# ];
};
# @Reference: Emit a new DBUS signal, if new sound device added

View File

@ -41,7 +41,7 @@ in
ipython
pep8
virtualenv
poetry
poetry-core
]))
bandwhich
bat

View File

@ -17,17 +17,16 @@ in
snapshotInterval = "hourly";
cleanupInterval = "2h";
configs.${escapePath cfg.subvolume} = {
subvolume = cfg.subvolume;
extraConfig = ''
TIMELINE_CREATE=yes
TIMELINE_CLEANUP=yes
TIMELINE_LIMIT_HOURLY=2
TIMELINE_LIMIT_DAILY=3
TIMELINE_LIMIT_WEEKLY=2
TIMELINE_LIMIT_MONTHLY=2
TIMELINE_LIMIT_YEARLY=0
'';
SUBVOLUME = cfg.subvolume;
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
TIMELINE_LIMIT_HOURLY = 2;
TIMELINE_LIMIT_DAILY = 3;
TIMELINE_LIMIT_WEEKLY = 2;
TIMELINE_LIMIT_MONTHLY = 2;
TIMELINE_LIMIT_YEARLY = 0;
};
};
};
}
# vim: set ts=2 sw=2 tw=0 et :