This commit is contained in:
biscuit
2025-06-30 12:49:36 -05:00
parent d8657c7eeb
commit 62d8d36ed8
6 changed files with 51 additions and 31 deletions
+2 -1
View File
@@ -46,13 +46,14 @@
my-apps = pkgs:
with pkgs; [
jellyfin-media-player
mangohud
];
};
hyprconf = {
monitor = [
"DP-1,highres@165,0x1080,auto"
"HDMI-A-4,highres@highrr,0x0,auto"
"DP-2,highres@highrr,0x0,auto"
];
};
+2 -2
View File
@@ -1,5 +1,5 @@
{pkgs, ...}: {
home.packages = [
pkgs.heroic
environment.systemPackages = with pkgs; [
heroic
];
}
+19 -19
View File
@@ -9,27 +9,27 @@
};
listener = [
# {
# timeout = 150;
# on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
# on-resume = "brightnessctl -r"; # restore monitor backlight.
# }
# {
# timeout = 150;
# on-timeout = "brightnessctl -sd rgb:kbd_backlight set 0"; # turn off keyboard backlight.
# on-resume = "brightnessctl -rd rgb:kbd_backlight"; # turn on keyboard backlight.
# }
# {
# timeout = 300;
# on-timeout = "loginctl lock-session"; # lock screen when timeout has passed.
# }
# {
# timeout = 330;
# on-timeout = "hyprctl dispatch dpms off"; # screen off after 5.5min.
# on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on and restore brightness on resume.
# }
{
timeout = 150;
on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = "brightnessctl -r"; # restore monitor backlight.
}
{
timeout = 150;
on-timeout = "brightnessctl -sd rgb:kbd_backlight set 0"; # turn off keyboard backlight.
on-resume = "brightnessctl -rd rgb:kbd_backlight"; # turn on keyboard backlight.
}
{
timeout = 300;
on-timeout = "loginctl lock-session"; # lock screen when timeout has passed.
}
{
timeout = 330;
on-timeout = "hyprctl dispatch dpms off"; # screen off after 5.5min.
on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on and restore brightness on resume.
}
{
timeout = 500;
on-timeout = "systemctl suspend"; # suspend PC after 30min.
}
];
+2 -1
View File
@@ -21,6 +21,7 @@
"pkill gjs & ags run"
# "matugen image /home/${username}/.config/nixos/assets/wallpapers/ultrawide-nixos-default.png"
"hyprctl setcursor Bibata-Original-Classic 24"
"solaar -w hide"
];
general = {
@@ -113,7 +114,7 @@
input = {
kb_layout = "us";
follow_mouse = 1;
sensitivity = -0.5;
sensitivity = 0;
force_no_accel = true;
repeat_delay = 250;
repeat_rate = 35;
+25 -8
View File
@@ -9,11 +9,7 @@
}: {
environment.systemPackages = with pkgs;
[
python3
python3Packages.pip
python3Packages.pygobject3
python3Packages.setuptools
python3Packages.wheel
python313Full
gobject-introspection
gtk3
@@ -36,6 +32,11 @@
jq
lm_sensors
gparted
notify
mangohud
]
++ [
inputs.matugen.packages.${pkgs.system}.default
@@ -43,8 +44,18 @@
++ lib.optionals (logitech-hardware.enable == true) [
solaar
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader = {
systemd-boot = {
enable = false;
};
efi = {
canTouchEfiVariables = true;
};
grub = {
enable = true;
device = "nodev";
};
};
hardware = {
logitech.wireless.enable = logitech-hardware.enable;
@@ -66,7 +77,13 @@
time.timeZone = "${timezone}";
services = {
openssh.enable = true;
openssh = {
enable = true;
ports = [22];
settings = {
PasswordAuthentication = true;
};
};
libinput.enable = touchpadSupport;
blueman.enable = true;
};
+1
View File
@@ -7,6 +7,7 @@
wl-clipboard
hypridle
hyprlock
brightnessctl
];
programs.hyprland = {
enable = true;