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