This commit is contained in:
mjallen18
2025-06-18 23:45:34 -05:00
parent 96360efd32
commit 0211f0a415
9 changed files with 66 additions and 46 deletions

View File

@@ -11,7 +11,10 @@ in
kernelModules = [ kernelModules = [
"nct6775" "nct6775"
"kvm-amd" "kvm-amd"
"i2c-dev"
"ddcci_backlight"
]; ];
extraModulePackages = [config.boot.kernelPackages.ddcci-driver];
loader = { loader = {
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;

View File

@@ -16,13 +16,19 @@ let
VISUAL = "${pkgs.vscodium}/bin/codium --wait"; VISUAL = "${pkgs.vscodium}/bin/codium --wait";
}; };
systemPackages = with pkgsVersion; [ systemPackages = with pkgsVersion; [
acpilight
aha aha
aspell aspell
aspellDicts.en aspellDicts.en
aspellDicts.en-computers aspellDicts.en-computers
aspellDicts.en-science aspellDicts.en-science
borgbackup borgbackup
brightnessctl
# brscan5 # brscan5
ddcui
ddcutil
ddccontrol
ddccontrol-db
efibootmgr efibootmgr
kdePackages.ksvg kdePackages.ksvg
memtest86-efi memtest86-efi
@@ -170,4 +176,8 @@ in
libvirtd.enable = lib.mkDefault true; libvirtd.enable = lib.mkDefault true;
waydroid.enable = lib.mkDefault true; waydroid.enable = lib.mkDefault true;
}; };
services.udev.extraRules = ''
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
'';
} }

View File

@@ -15,6 +15,8 @@ in
"input" "input"
"scanner" "scanner"
"lp" "lp"
"video"
"i2c"
]; # Enable sudo for the user. ]; # Enable sudo for the user.
hashedPasswordFile = passwordFile; hashedPasswordFile = passwordFile;
shell = pkgsVersion.zsh; shell = pkgsVersion.zsh;

View File

@@ -266,6 +266,7 @@ in
exec-once = dbus-update-activation-environment --systemd --all exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = xhost +SI:localuser:root
exec-once = nwg-look -a exec-once = nwg-look -a
exec-once = nm-applet exec-once = nm-applet
exec-once = blueberry-tray exec-once = blueberry-tray

View File

@@ -5,7 +5,7 @@
shellIntegration.enableZshIntegration = true; shellIntegration.enableZshIntegration = true;
font = { font = {
name = "nerd-fonts-jetbrains-mono"; name = "JetBrainsMono NFM";
package = pkgs.nerd-fonts.jetbrains-mono; package = pkgs.nerd-fonts.jetbrains-mono;
size = 12; size = 12;
}; };

View File

@@ -10,7 +10,7 @@
height = 110; height = 110;
layer = "overlay"; layer = "overlay";
border-radius = 15; border-radius = 15;
border-size = 2; border-size = 1;
max-icon-size = 64; max-icon-size = 64;
default-timeout = 5000; default-timeout = 5000;

View File

@@ -116,7 +116,7 @@
pulseaudio = { pulseaudio = {
format = "{icon} {volume}%"; format = "{icon} {volume}%";
tooltip = false; tooltip = false;
format-muted = " Muted"; format-muted = "{icon} Muted";
on-click = "pamixer -t"; on-click = "pamixer -t";
on-click-right = "pavucontrol -t 1"; on-click-right = "pavucontrol -t 1";
on-scroll-up = "pamixer -i 5"; on-scroll-up = "pamixer -i 5";
@@ -154,9 +154,10 @@
capslock = true; capslock = true;
icon-size = 20; icon-size = 20;
format = "{icon}"; format = "{icon}";
tooltip-format = "Caps Lock {state}";
format-icons = { format-icons = {
locked = "󰪛"; locked = "󰬶";
unlocked = " "; unlocked = "󰬵";
}; };
}; };
@@ -164,9 +165,10 @@
numlock = true; numlock = true;
icon-size = 60; icon-size = 60;
format = "{icon}"; format = "{icon}";
tooltip-format = "Num Lock {state}";
format-icons = { format-icons = {
locked = "󰎣"; locked = "󰎠";
unlocked = " "; unlocked = "󱧓";
}; };
}; };
}; };

View File

@@ -23,6 +23,7 @@ in
glib glib
gnome-tweaks gnome-tweaks
gnome-disk-utility gnome-disk-utility
gnome-font-viewer
gnome-system-monitor gnome-system-monitor
gsettings-desktop-schemas gsettings-desktop-schemas
hyprcursor hyprcursor
@@ -58,6 +59,7 @@ in
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
xorg.xhost
xsettingsd xsettingsd
xwayland xwayland
]; ];

View File

@@ -119,51 +119,51 @@ in
}; };
}; };
home.sessionVariables = { home = {
BROWSER = "firefox"; sessionVariables = {
EDITOR = "nano"; BROWSER = "firefox";
TERMINAL = "kitty"; CLUTTER_BACKEND = "wayland";
NIXOS_OZONE_WL = "1"; EDITOR = "nano";
QT_QPA_PLATFORMTHEME = "gtk3"; ICON_THEME = iconTheme;
QT_SCALE_FACTOR = "1"; GTK_CSD = "0";
MOZ_ENABLE_WAYLAND = "1"; GTK_THEME = gtkTheme;
SDL_VIDEODRIVER = "wayland"; GTK_USE_PORTAL = "1";
QT_QPA_PLATFORM = "wayland-egl"; HYPRCURSOR_THEME = cursorTheme;
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; HYPRCURSOR_SIZE = cursorSize;
QT_AUTO_SCREEN_SCALE_FACTOR = "1"; MOZ_ENABLE_WAYLAND = "1";
GTK_CSD = "0"; NIXOS_OZONE_WL = "1";
# WLR_DRM_DEVICES = "/dev/dri/card0"; NIXOS_XDG_OPEN_USE_PORTAL = "1";
# WLR_NO_HARDWARE_CURSORS = "1"; QT_AUTO_SCREEN_SCALE_FACTOR = "1";
CLUTTER_BACKEND = "wayland"; QT_QPA_PLATFORM = "wayland-egl";
# WLR_RENDERER = "vulkan"; QT_QPA_PLATFORMTHEME = "gtk3";
XCURSOR_THEME = cursorTheme; QT_SCALE_FACTOR = "1";
XCURSOR_SIZE = cursorSize; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
HYPRCURSOR_THEME = cursorTheme; SDL_VIDEODRIVER = "wayland";
HYPRCURSOR_SIZE = cursorSize; TERMINAL = "kitty";
GTK_THEME = gtkTheme; XCURSOR_THEME = cursorTheme;
XDG_CURRENT_DESKTOP = "Hyprland"; XCURSOR_SIZE = cursorSize;
XDG_SESSION_DESKTOP = "Hyprland"; XDG_CACHE_HOME = "\${HOME}/.cache";
XDG_SESSION_TYPE = "wayland"; XDG_CONFIG_HOME = "\${HOME}/.config";
GTK_USE_PORTAL = "1"; XDG_CURRENT_DESKTOP = "Hyprland";
NIXOS_XDG_OPEN_USE_PORTAL = "1"; XDG_DATA_HOME = "\${HOME}/.local/share";
XDG_CACHE_HOME = "\${HOME}/.cache"; XDG_SESSION_DESKTOP = "Hyprland";
XDG_CONFIG_HOME = "\${HOME}/.config"; XDG_SESSION_TYPE = "wayland";
#XDG_BIN_HOME = "\${HOME}/.local/bin"; };
XDG_DATA_HOME = "\${HOME}/.local/share";
ICON_THEME = iconTheme;
};
home.pointerCursor = { pointerCursor = {
gtk.enable = true; gtk.enable = true;
package = cursorThemePkg; package = cursorThemePkg;
name = cursorTheme; name = cursorTheme;
size = cursorSize; size = cursorSize;
};
}; };
dconf = { dconf = {
enable = true; enable = true;
settings = { settings = {
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
"org/gnome/desktop/interface".cursor-theme = cursorTheme; "org/gnome/desktop/interface".cursor-theme = cursorTheme;
"org/gnome/desktop/interface".gtk-theme = gtkTheme;
"org/gnome/desktop/interface".icon-theme = iconTheme; "org/gnome/desktop/interface".icon-theme = iconTheme;
}; };
}; };
@@ -172,7 +172,7 @@ in
enable = true; enable = true;
cursorTheme = { cursorTheme = {
name = cursorTheme; # macOS-[BigSur, Monterey]-[ , White, White-Windows, Windows] name = cursorTheme;
package = cursorThemePkg; package = cursorThemePkg;
}; };