2 Commits

Author SHA1 Message Date
biscuit a1c4841580 test 2025-06-30 13:29:56 -05:00
biscuit 62d8d36ed8 test 2025-06-30 12:49:36 -05:00
6 changed files with 53 additions and 33 deletions
+4 -3
View File
@@ -16,7 +16,7 @@
terminal = { terminal = {
termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font
termSize = "18"; termSize = "20";
termShell = "fish"; termShell = "fish";
shellAliases = { shellAliases = {
ls = "ls --color=auto"; ls = "ls --color=auto";
@@ -25,7 +25,7 @@
if [ "$(uname)" = "Darwin" ]; then if [ "$(uname)" = "Darwin" ]; then
sudo darwin-rebuild switch --flake ~/.config/nixos#macos sudo darwin-rebuild switch --flake ~/.config/nixos#macos
else else
sudo nixos-rebuild switch --flake ~/.config/nixos#desktop --impure && home-manager switch --flake ~/.config/nixos#desktop --impure sudo nixos-rebuild switch --flake ~/.config/nixos#desktop && home-manager switch --flake ~/.config/nixos#desktop
fi fi
' '
''; '';
@@ -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"
]; ];
}; };
+2 -2
View File
@@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = [ environment.systemPackages = with pkgs; [
pkgs.heroic heroic
]; ];
} }
+19 -19
View File
@@ -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.
} }
]; ];
+2 -1
View File
@@ -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
View File
@@ -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;
}; };
+1
View File
@@ -7,6 +7,7 @@
wl-clipboard wl-clipboard
hypridle hypridle
hyprlock hyprlock
brightnessctl
]; ];
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;