chore: Update to 25.05
This commit is contained in:
parent
b7b0fa8ad3
commit
f35a2c5e85
4 changed files with 28 additions and 18 deletions
|
@ -45,7 +45,7 @@
|
|||
"spotify"
|
||||
"steam" "steam-unwrapped" "steam-run"
|
||||
"vista-fonts"
|
||||
"nvidia-persistenced" # Docker
|
||||
"intel-ocl"
|
||||
];
|
||||
in
|
||||
utils.lib.mkFlake {
|
||||
|
@ -73,6 +73,7 @@
|
|||
modules = [
|
||||
home-manager.nixosModule
|
||||
sops-nix.nixosModules.sops
|
||||
|
||||
./modules
|
||||
./users
|
||||
];
|
||||
|
|
|
@ -25,21 +25,27 @@ in {
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# boot = {
|
||||
# extraModprobeConfig = "options nvidia-drm modeset=1";
|
||||
#
|
||||
# initrd.kernelModules = [
|
||||
# "nvidia"
|
||||
# "nvidia_modeset"
|
||||
# "nvidia_uvm"
|
||||
# "nvidia_drm"
|
||||
# ];
|
||||
# };
|
||||
boot = {
|
||||
extraModprobeConfig = ''
|
||||
options nvidia-drm modeset=1
|
||||
'';
|
||||
kernelParams = [
|
||||
"nvidia_drm.modeset=1"
|
||||
];
|
||||
};
|
||||
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-ocl
|
||||
intel-compute-runtime
|
||||
opencl-clhpp
|
||||
opencl-clang
|
||||
opencl-headers
|
||||
ocl-icd
|
||||
];
|
||||
};
|
||||
|
||||
nvidia = {
|
||||
|
|
|
@ -8,7 +8,7 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
programs.direnv = {
|
||||
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.
|
||||
|
|
|
@ -8,7 +8,7 @@ let
|
|||
|
||||
cursor = {
|
||||
package = pkgs.phinger-cursors;
|
||||
name = "phinger-cursors";
|
||||
name = "phinger-cursors-light";
|
||||
size = 24;
|
||||
};
|
||||
in {
|
||||
|
@ -79,12 +79,13 @@ in {
|
|||
|
||||
fonts.packages = with pkgs; [
|
||||
corefonts # Calibri for Uni
|
||||
dejavu_fonts
|
||||
font-awesome # Dependency of Vifm & zsh config
|
||||
letter # Personal font
|
||||
noto-fonts # Dependency of Zellij config
|
||||
noto-fonts-cjk-sans # Dependency of Zellij config
|
||||
noto-fonts-cjk-serif # Dependency of Zellij config
|
||||
noto-fonts # Dependency of Zellij config
|
||||
noto-fonts-emoji # Dependency of Zellij config
|
||||
noto-fonts-emoji
|
||||
noto-fonts-color-emoji # Emoji's!
|
||||
vistafonts # Microsoft fonts
|
||||
];
|
||||
|
@ -109,7 +110,6 @@ in {
|
|||
pointerCursor = {
|
||||
inherit (cursor) package name size;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -140,9 +140,12 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
gtk = {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
cursorTheme = cursor;
|
||||
extraOptions = [
|
||||
"--no-default-folder"
|
||||
];
|
||||
tray.enable = true;
|
||||
};
|
||||
|
||||
xdg = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue