chore: Update to 25.05

This commit is contained in:
Tibo De Peuter 2025-09-16 21:02:35 +02:00
parent b7b0fa8ad3
commit f35a2c5e85
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
4 changed files with 28 additions and 18 deletions

View file

@ -45,7 +45,7 @@
"spotify" "spotify"
"steam" "steam-unwrapped" "steam-run" "steam" "steam-unwrapped" "steam-run"
"vista-fonts" "vista-fonts"
"nvidia-persistenced" # Docker "intel-ocl"
]; ];
in in
utils.lib.mkFlake { utils.lib.mkFlake {
@ -73,6 +73,7 @@
modules = [ modules = [
home-manager.nixosModule home-manager.nixosModule
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
./modules ./modules
./users ./users
]; ];

View file

@ -25,21 +25,27 @@ in {
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# boot = { boot = {
# extraModprobeConfig = "options nvidia-drm modeset=1"; extraModprobeConfig = ''
# options nvidia-drm modeset=1
# initrd.kernelModules = [ '';
# "nvidia" kernelParams = [
# "nvidia_modeset" "nvidia_drm.modeset=1"
# "nvidia_uvm" ];
# "nvidia_drm" };
# ];
# };
hardware = { hardware = {
graphics = { graphics = {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [
intel-ocl
intel-compute-runtime
opencl-clhpp
opencl-clang
opencl-headers
ocl-icd
];
}; };
nvidia = { nvidia = {

View file

@ -8,7 +8,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; # Use nix-specific direnv. nix-direnv.enable = true; # Use nix-specific direnv, https://github.com/nix-community/nix-direnv
}; };
# This is also done by setting programs.direnv.persistDerivations. # This is also done by setting programs.direnv.persistDerivations.

View file

@ -8,7 +8,7 @@ let
cursor = { cursor = {
package = pkgs.phinger-cursors; package = pkgs.phinger-cursors;
name = "phinger-cursors"; name = "phinger-cursors-light";
size = 24; size = 24;
}; };
in { in {
@ -79,12 +79,13 @@ in {
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
corefonts # Calibri for Uni corefonts # Calibri for Uni
dejavu_fonts
font-awesome # Dependency of Vifm & zsh config font-awesome # Dependency of Vifm & zsh config
letter # Personal font letter # Personal font
noto-fonts # Dependency of Zellij config
noto-fonts-cjk-sans # Dependency of Zellij config noto-fonts-cjk-sans # Dependency of Zellij config
noto-fonts-cjk-serif # Dependency of Zellij config noto-fonts-cjk-serif # Dependency of Zellij config
noto-fonts # Dependency of Zellij config noto-fonts-emoji
noto-fonts-emoji # Dependency of Zellij config
noto-fonts-color-emoji # Emoji's! noto-fonts-color-emoji # Emoji's!
vistafonts # Microsoft fonts vistafonts # Microsoft fonts
]; ];
@ -109,7 +110,6 @@ in {
pointerCursor = { pointerCursor = {
inherit (cursor) package name size; inherit (cursor) package name size;
gtk.enable = true; gtk.enable = true;
x11.enable = true;
}; };
}; };
@ -140,9 +140,12 @@ in {
}; };
}; };
gtk = { services.syncthing = {
enable = true; enable = true;
cursorTheme = cursor; extraOptions = [
"--no-default-folder"
];
tray.enable = true;
}; };
xdg = { xdg = {