Wallpaper: Snowman.

This commit is contained in:
Dmitry Voronin 2024-12-09 23:05:38 +03:00
parent ba02ee3762
commit 54d7764771
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
5 changed files with 18 additions and 26 deletions

View file

@ -1,17 +0,0 @@
# Improve DE performance.
{
lib,
config,
...
}: let
cfg = config.module.realtime;
in {
config = lib.mkIf cfg.enable {
security.pam.loginLimits = [{
domain = "@users";
item = "rtprio";
type = "-";
value = 1;
}];
};
}

View file

@ -13,7 +13,6 @@ in {
bluetooth.enable = true; bluetooth.enable = true;
brightness.enable = true; brightness.enable = true;
portal.enable = true; portal.enable = true;
realtime.enable = true;
sound.enable = true; sound.enable = true;
waybar.enable = true; waybar.enable = true;
wayland.enable = true; wayland.enable = true;

View file

@ -1,6 +0,0 @@
{
lib,
...
}: {
options.module.realtime.enable = lib.mkEnableOption "the realtime access.";
}

View file

@ -4,8 +4,8 @@
lib, lib,
... ...
}: let }: let
url = "https://images.unsplash.com/photo-1482517967863-00e15c9b44be?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&dl=chad-madden-SUTfFCAHV_A-unsplash.jpg"; url = "https://i.imgur.com/SNEPYVe.jpeg";
sha256 = "sha256-3T8Spa+gsemiyDcqBQCwZfWU1MWzu2AhPDF4wyeXxcQ="; sha256 = "sha256-cOddztn8w3lJrfMINWQnplacV8eubsatTz73oTMo2bk=";
forceContrastText = false; forceContrastText = false;
in { in {
options.module.wallpaper = { options.module.wallpaper = {

16
system/Pam.nix Normal file
View file

@ -0,0 +1,16 @@
{ ... }: {
security.pam.loginLimits = [
{
domain = "*";
item = "nofile";
type = "soft";
value = "99999";
}
{
domain = "@users";
item = "rtprio";
type = "-";
value = 1;
}
];
}