dev #19
					 4 changed files with 28 additions and 18 deletions
				
			
		|  | @ -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 | ||||||
|         ]; |         ]; | ||||||
|  |  | ||||||
|  | @ -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 = { | ||||||
|  |  | ||||||
|  | @ -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. | ||||||
|  |  | ||||||
|  | @ -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 = { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue