mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 05:40:05 +00:00 
			
		
		
		
	💄♻️ Update homepage background & re-enable somecronjobs
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				update-dependencies / update-dependencies (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	update-dependencies / update-dependencies (push) Has been cancelled
				
			This commit is contained in:
		
							parent
							
								
									41537aa196
								
							
						
					
					
						commit
						632d473951
					
				
					 12 changed files with 77 additions and 71 deletions
				
			
		
							
								
								
									
										70
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										70
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -7,11 +7,11 @@ | ||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743217966, |         "lastModified": 1744375180, | ||||||
|         "narHash": "sha256-S9Q/Pl0U/kdwz8LBt1JjE1Qay3CY0pk1gHHvRosWlUI=", |         "narHash": "sha256-s2FmOufSMIz6H0UrGOHJ7RrQfqvhCjUIvk54J8LlZFA=", | ||||||
|         "owner": "catppuccin", |         "owner": "catppuccin", | ||||||
|         "repo": "nix", |         "repo": "nix", | ||||||
|         "rev": "c41c89f69fcdc8bd78bbc95123eef280575f1df8", |         "rev": "75c26f52a685291fedfd3a9c93f5cbe80a5d3321", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -131,11 +131,11 @@ | ||||||
|         "zon2nix": "zon2nix" |         "zon2nix": "zon2nix" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743191728, |         "lastModified": 1744328787, | ||||||
|         "narHash": "sha256-LrQd2IkfcmHdBh+pwPEPXzcosBerIEFzz/DbVNzBqig=", |         "narHash": "sha256-VFOTTlWGZ9GWGGrz6F6ihXrsmm5IiGEKCmgfpM9+Y4E=", | ||||||
|         "owner": "ghostty-org", |         "owner": "ghostty-org", | ||||||
|         "repo": "ghostty", |         "repo": "ghostty", | ||||||
|         "rev": "1067cd3d8a061eb5b23bc1a4c46ca10af4481941", |         "rev": "b16324ef0be8c5eeef4c0eb23b9972fdb2fa50d5", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -146,11 +146,11 @@ | ||||||
|     }, |     }, | ||||||
|     "hardware": { |     "hardware": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743167577, |         "lastModified": 1744366945, | ||||||
|         "narHash": "sha256-I09SrXIO0UdyBFfh0fxDq5WnCDg8XKmZ1HQbaXzMA1k=", |         "narHash": "sha256-OuLhysErPHl53BBifhesrRumJNhrlSgQDfYOTXfgIMg=", | ||||||
|         "owner": "NixOS", |         "owner": "NixOS", | ||||||
|         "repo": "nixos-hardware", |         "repo": "nixos-hardware", | ||||||
|         "rev": "0ed819e708af17bfc4bbc63ee080ef308a24aa42", |         "rev": "1fe3cc2bc5d2dc9c81cb4e63d2f67c1543340df1", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -167,11 +167,11 @@ | ||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743267068, |         "lastModified": 1744377435, | ||||||
|         "narHash": "sha256-G7866vbO5jgqMcYJzgbxej40O6mBGQMGt6gM0himjoA=", |         "narHash": "sha256-zT3zbkZjeKsjMktV7MAdruXQWpzpM7iVWHuhknYOuwY=", | ||||||
|         "owner": "nix-community", |         "owner": "nix-community", | ||||||
|         "repo": "home-manager", |         "repo": "home-manager", | ||||||
|         "rev": "b431496538b0e294fbe44a1441b24ae8195c63f0", |         "rev": "6bccb54a4f98408f22d2e45921bb401f393f2174", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -199,18 +199,16 @@ | ||||||
|     "nixcord": { |     "nixcord": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "flake-compat": "flake-compat_2", |         "flake-compat": "flake-compat_2", | ||||||
|         "nixpkgs": [ |         "nixpkgs": "nixpkgs", | ||||||
|           "nixpkgs" |  | ||||||
|         ], |  | ||||||
|         "systems": "systems_2", |         "systems": "systems_2", | ||||||
|         "treefmt-nix": "treefmt-nix" |         "treefmt-nix": "treefmt-nix" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743170370, |         "lastModified": 1744308772, | ||||||
|         "narHash": "sha256-v8ZdXs0fj0LG2jH0NJvfeMt0b+qJYxbN+fnto4kqdyM=", |         "narHash": "sha256-gUOclfwgw/bSo3VMNmHrNXzIpaOgh1Yq9a3D3Dj/wgM=", | ||||||
|         "owner": "kaylorben", |         "owner": "kaylorben", | ||||||
|         "repo": "nixcord", |         "repo": "nixcord", | ||||||
|         "rev": "b969aa7b1e1925935eda22da01ffbf028c7c2a51", |         "rev": "76c3b99646d12437ec7183939eca911549e4d18f", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -221,15 +219,15 @@ | ||||||
|     }, |     }, | ||||||
|     "nixpkgs": { |     "nixpkgs": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743076231, |         "lastModified": 1742800061, | ||||||
|         "narHash": "sha256-yQugdVfi316qUfqzN8JMaA2vixl+45GxNm4oUfXlbgw=", |         "narHash": "sha256-oDJGK1UMArK52vcW9S5S2apeec4rbfNELgc50LqiPNs=", | ||||||
|         "owner": "nixos", |         "owner": "NixOS", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "rev": "6c5963357f3c1c840201eda129a99d455074db04", |         "rev": "1750f3c1c89488e2ffdd47cab9d05454dddfb734", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|         "owner": "nixos", |         "owner": "NixOS", | ||||||
|         "ref": "nixpkgs-unstable", |         "ref": "nixpkgs-unstable", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|  | @ -267,6 +265,22 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "nixpkgs_2": { | ||||||
|  |       "locked": { | ||||||
|  |         "lastModified": 1744868846, | ||||||
|  |         "narHash": "sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs=", | ||||||
|  |         "owner": "nixos", | ||||||
|  |         "repo": "nixpkgs", | ||||||
|  |         "rev": "ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c", | ||||||
|  |         "type": "github" | ||||||
|  |       }, | ||||||
|  |       "original": { | ||||||
|  |         "owner": "nixos", | ||||||
|  |         "ref": "nixpkgs-unstable", | ||||||
|  |         "repo": "nixpkgs", | ||||||
|  |         "type": "github" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "root": { |     "root": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "catppuccin": "catppuccin", |         "catppuccin": "catppuccin", | ||||||
|  | @ -275,7 +289,7 @@ | ||||||
|         "home-manager": "home-manager", |         "home-manager": "home-manager", | ||||||
|         "nix-flatpak": "nix-flatpak", |         "nix-flatpak": "nix-flatpak", | ||||||
|         "nixcord": "nixcord", |         "nixcord": "nixcord", | ||||||
|         "nixpkgs": "nixpkgs", |         "nixpkgs": "nixpkgs_2", | ||||||
|         "snowfall-lib": "snowfall-lib", |         "snowfall-lib": "snowfall-lib", | ||||||
|         "sops-nix": "sops-nix" |         "sops-nix": "sops-nix" | ||||||
|       } |       } | ||||||
|  | @ -309,11 +323,11 @@ | ||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1742700801, |         "lastModified": 1744103455, | ||||||
|         "narHash": "sha256-ZGlpUDsuBdeZeTNgoMv+aw0ByXT2J3wkYw9kJwkAS4M=", |         "narHash": "sha256-SR6+qjkPjGQG+8eM4dCcVtss8r9bre/LAxFMPJpaZeU=", | ||||||
|         "owner": "Mic92", |         "owner": "Mic92", | ||||||
|         "repo": "sops-nix", |         "repo": "sops-nix", | ||||||
|         "rev": "67566fe68a8bed2a7b1175fdfb0697ed22ae8852", |         "rev": "69d5a5a4635c27dae5a742f36108beccc506c1ba", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -436,8 +450,8 @@ | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|         "owner": "jcollie", |         "owner": "jcollie", | ||||||
|         "ref": "56c159be489cc6c0e73c3930bd908ddc6fe89613", |  | ||||||
|         "repo": "zon2nix", |         "repo": "zon2nix", | ||||||
|  |         "rev": "56c159be489cc6c0e73c3930bd908ddc6fe89613", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | @ -40,7 +40,6 @@ | ||||||
| 
 | 
 | ||||||
|     nixcord = { |     nixcord = { | ||||||
|       url = "github:kaylorben/nixcord"; |       url = "github:kaylorben/nixcord"; | ||||||
|       inputs.nixpkgs.follows = "nixpkgs"; |  | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  | @ -86,7 +85,7 @@ | ||||||
|       # Apply some home-manager modules globally. |       # Apply some home-manager modules globally. | ||||||
|       homes.modules = with inputs; [ |       homes.modules = with inputs; [ | ||||||
|         nix-flatpak.homeManagerModules.nix-flatpak |         nix-flatpak.homeManagerModules.nix-flatpak | ||||||
|         catppuccin.homeManagerModules.catppuccin |         catppuccin.homeModules.catppuccin | ||||||
|         sops-nix.homeManagerModules.sops |         sops-nix.homeManagerModules.sops | ||||||
|       ]; |       ]; | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
|  | @ -1,6 +1,5 @@ | ||||||
| { | { | ||||||
|   pkgs, |   pkgs, | ||||||
|   lib, |  | ||||||
|   inputs, |   inputs, | ||||||
|   ... |   ... | ||||||
| }: { | }: { | ||||||
|  | @ -13,13 +12,9 @@ | ||||||
|       gtk.enable = true; |       gtk.enable = true; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     apps.nushell.enable = false; |  | ||||||
|     apps.vscodium.enable = true; |  | ||||||
|     apps.zed.enable = true; |     apps.zed.enable = true; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   home.file."~/.local/share/fonts/Unknown\ Vendor/qwerasd205/AnnotationMono/AnnotationMono-VF.ttf".source = lib.snowfall.fs.get-file "resources/fonts/AnnotationMono/variable/AnnotationMono-VF.ttf"; |  | ||||||
| 
 |  | ||||||
|   home.file."~/.config/Yubico/u2f_keys".text = '' |   home.file."~/.config/Yubico/u2f_keys".text = '' | ||||||
|     jo:gtKwCQKVw5O4IkWg8J8o7vHIo3hStmOqVcnmk97E335DwHnPUMIDTMnD46qEn/1tucTZlYfGABfzVVG+iYeUOA==,fVRFZb9iBiqjOXvk5Gm9ygO/O4huEUR1Uq3DGBlnS1RtqqK0shif8aOlNLkmn8Xe9+x4HYIeNEX4fc8Z7Y2Hgw==,es256,+presence |     jo:gtKwCQKVw5O4IkWg8J8o7vHIo3hStmOqVcnmk97E335DwHnPUMIDTMnD46qEn/1tucTZlYfGABfzVVG+iYeUOA==,fVRFZb9iBiqjOXvk5Gm9ygO/O4huEUR1Uq3DGBlnS1RtqqK0shif8aOlNLkmn8Xe9+x4HYIeNEX4fc8Z7Y2Hgw==,es256,+presence | ||||||
|   ''; |   ''; | ||||||
|  | @ -28,15 +23,6 @@ | ||||||
|     age.keyFile = "/home/jo/sops-nix/key.txt"; |     age.keyFile = "/home/jo/sops-nix/key.txt"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   # Flatpak configuration. |  | ||||||
|   services.flatpak = { |  | ||||||
|     enable = true; |  | ||||||
|     update.auto.enable = true; |  | ||||||
|     uninstallUnmanaged = true; |  | ||||||
| 
 |  | ||||||
|     packages = []; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   programs = { |   programs = { | ||||||
|     # TODO: look at git-sync for syncing stuff like obsidian vaults. |     # TODO: look at git-sync for syncing stuff like obsidian vaults. | ||||||
|     git-credential-oauth.enable = true; |     git-credential-oauth.enable = true; | ||||||
|  | @ -55,10 +41,7 @@ | ||||||
|   # Declare user packages. |   # Declare user packages. | ||||||
|   home.packages = with pkgs; [ |   home.packages = with pkgs; [ | ||||||
|     ### General |     ### General | ||||||
|     qflipper |  | ||||||
|     labymod-launcher |  | ||||||
|     steam |     steam | ||||||
|     youtube-music |  | ||||||
|     ungoogled-chromium |     ungoogled-chromium | ||||||
|     firefox |     firefox | ||||||
| 
 | 
 | ||||||
|  | @ -69,10 +52,9 @@ | ||||||
|     git |     git | ||||||
|     bun |     bun | ||||||
|     devenv |     devenv | ||||||
|     python39 |  | ||||||
|     nixd |     nixd | ||||||
|     bruno |  | ||||||
|     deno |     deno | ||||||
|  |     nh | ||||||
| 
 | 
 | ||||||
|     ### Work |     ### Work | ||||||
|     teams-for-linux |     teams-for-linux | ||||||
|  | @ -80,10 +62,7 @@ | ||||||
| 
 | 
 | ||||||
|     ### Notes & Organisation |     ### Notes & Organisation | ||||||
|     obsidian |     obsidian | ||||||
| 
 |  | ||||||
|     ### Virtual Reality |  | ||||||
|     sidequest |  | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   home.stateVersion = "24.05"; |   home.stateVersion = "25.05"; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -42,7 +42,7 @@ in { | ||||||
|         enable-blur = mkOpt bool false "Whether to enable blur-my-shell application blur."; |         enable-blur = mkOpt bool false "Whether to enable blur-my-shell application blur."; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|     wallpaper = mkOpt str (builtins.toString ./wallpapers/retro/snowy-map.png) "Specify the path of your prefered Gnome wallpaper."; |     wallpaper = mkOpt str (builtins.toString ./wallpapers/mountain_tower_sunset.jpg) "Specify the path of your prefered Gnome wallpaper."; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = mkIf osConfig.${namespace}.desktop.gnome.enable { |   config = mkIf osConfig.${namespace}.desktop.gnome.enable { | ||||||
|  |  | ||||||
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1 MiB | 
							
								
								
									
										
											BIN
										
									
								
								modules/home/desktop/gnome/wallpapers/mountain_tower_sunset.jpg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								modules/home/desktop/gnome/wallpapers/mountain_tower_sunset.jpg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.8 MiB | 
|  | @ -26,9 +26,9 @@ | ||||||
|       @define-color error_color ${config.palette.red.hex}; |       @define-color error_color ${config.palette.red.hex}; | ||||||
|       @define-color error_bg_color ${config.palette.red.hex}; |       @define-color error_bg_color ${config.palette.red.hex}; | ||||||
|       @define-color error_fg_color ${config.palette.base.hex}; |       @define-color error_fg_color ${config.palette.base.hex}; | ||||||
|       @define-color window_bg_color ${config.palette.base.hex}; |       @define-color window_bg_color ${config.palette.mantle.hex}; | ||||||
|       @define-color window_fg_color ${config.palette.text.hex}; |       @define-color window_fg_color ${config.palette.text.hex}; | ||||||
|       @define-color view_bg_color ${config.palette.base.hex}; |       @define-color view_bg_color ${config.palette.mantle.hex}; | ||||||
|       @define-color view_fg_color ${config.palette.text.hex}; |       @define-color view_fg_color ${config.palette.text.hex}; | ||||||
|       @define-color headerbar_bg_color ${config.palette.mantle.hex}; |       @define-color headerbar_bg_color ${config.palette.mantle.hex}; | ||||||
|       @define-color headerbar_fg_color ${config.palette.text.hex}; |       @define-color headerbar_fg_color ${config.palette.text.hex}; | ||||||
|  | @ -36,7 +36,7 @@ | ||||||
|       @define-color headerbar_backdrop_color @window_bg_color; |       @define-color headerbar_backdrop_color @window_bg_color; | ||||||
|       @define-color headerbar_shade_color rgba(0, 0, 0, 0.07); |       @define-color headerbar_shade_color rgba(0, 0, 0, 0.07); | ||||||
|       @define-color headerbar_darker_shade_color rgba(0, 0, 0, 0.07); |       @define-color headerbar_darker_shade_color rgba(0, 0, 0, 0.07); | ||||||
|       @define-color sidebar_bg_color ${config.palette.mantle.hex}; |       @define-color sidebar_bg_color ${config.palette.base.hex}; | ||||||
|       @define-color sidebar_fg_color ${config.palette.text.hex}; |       @define-color sidebar_fg_color ${config.palette.text.hex}; | ||||||
|       @define-color sidebar_backdrop_color @window_bg_color; |       @define-color sidebar_backdrop_color @window_bg_color; | ||||||
|       @define-color sidebar_shade_color rgba(0, 0, 0, 0.07); |       @define-color sidebar_shade_color rgba(0, 0, 0, 0.07); | ||||||
|  | @ -44,7 +44,7 @@ | ||||||
|       @define-color secondary_sidebar_fg_color @sidebar_fg_color; |       @define-color secondary_sidebar_fg_color @sidebar_fg_color; | ||||||
|       @define-color secondary_sidebar_backdrop_color @sidebar_backdrop_color; |       @define-color secondary_sidebar_backdrop_color @sidebar_backdrop_color; | ||||||
|       @define-color secondary_sidebar_shade_color @sidebar_shade_color; |       @define-color secondary_sidebar_shade_color @sidebar_shade_color; | ||||||
|       @define-color card_bg_color ${config.palette.mantle.hex}; |       @define-color card_bg_color ${config.palette.base.hex}; | ||||||
|       @define-color card_fg_color ${config.palette.text.hex}; |       @define-color card_fg_color ${config.palette.text.hex}; | ||||||
|       @define-color card_shade_color rgba(0, 0, 0, 0.07); |       @define-color card_shade_color rgba(0, 0, 0, 0.07); | ||||||
|       @define-color dialog_bg_color ${config.palette.mantle.hex}; |       @define-color dialog_bg_color ${config.palette.mantle.hex}; | ||||||
|  |  | ||||||
|  | @ -40,6 +40,9 @@ in { | ||||||
|         "/var/lib/containers/homepage/images:/app/public/images:rw" |         "/var/lib/containers/homepage/images:/app/public/images:rw" | ||||||
|         "/var/run/docker.sock:/var/run/docker.sock:ro" # Optional, used for docker integration. |         "/var/run/docker.sock:/var/run/docker.sock:ro" # Optional, used for docker integration. | ||||||
|       ]; |       ]; | ||||||
|  |       environment = { | ||||||
|  |         "HOMEPAGE_ALLOWED_HOSTS" = "home.thevoid.cafe"; | ||||||
|  |       }; | ||||||
|       extraOptions = ["--network=proxy"]; |       extraOptions = ["--network=proxy"]; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ | ||||||
| 
 | 
 | ||||||
| title: Jo's Home | title: Jo's Home | ||||||
| background: | background: | ||||||
|   image: /images/blossoms.png |   image: https://cloud.thevoid.cafe/public.php/dav/files/efDwYjNyAcwJM5A/web/cozy_kitchen_rain_compressed.webp | ||||||
|   blur: md |   blur: md | ||||||
|   opacity: 45 |   opacity: 45 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -47,7 +47,7 @@ | ||||||
|       vaultwarden.enable = true; |       vaultwarden.enable = true; | ||||||
|       homepage.enable = true; |       homepage.enable = true; | ||||||
|       duckdns.enable = true; |       duckdns.enable = true; | ||||||
|       bluesky.pds.enable = true; |       bluesky.pds.enable = false; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  | @ -56,6 +56,7 @@ | ||||||
|     systemCronJobs = [ |     systemCronJobs = [ | ||||||
|       "*/5 * * * * cyn docker exec -u www-data nextcloud-nextcloud-1 php /var/www/html/cron.php" |       "*/5 * * * * cyn docker exec -u www-data nextcloud-nextcloud-1 php /var/www/html/cron.php" | ||||||
|       "*/15 * * * * cyn docker exec -u www-data nextcloud-nextcloud-1 php /var/www/nextcloud/occ preview:pre-generate" |       "*/15 * * * * cyn docker exec -u www-data nextcloud-nextcloud-1 php /var/www/nextcloud/occ preview:pre-generate" | ||||||
|  |       "* 3 * * * cyn cd /home/cyn/docker/compose/satisfactory && docker compose up -d --force-recreate" | ||||||
|       #"*/30 * * * * cyn /home/jo/tools/FediFetcher/FediFetcher.sh" |       #"*/30 * * * * cyn /home/jo/tools/FediFetcher/FediFetcher.sh" | ||||||
|     ]; |     ]; | ||||||
|   }; |   }; | ||||||
|  | @ -64,6 +65,7 @@ | ||||||
|   snowfallorg.users.cyn.admin = true; |   snowfallorg.users.cyn.admin = true; | ||||||
|   users.users.cyn.isNormalUser = true; |   users.users.cyn.isNormalUser = true; | ||||||
|   users.users.cyn.extraGroups = [ "dialout" "docker" ]; |   users.users.cyn.extraGroups = [ "dialout" "docker" ]; | ||||||
|  |    | ||||||
| 
 | 
 | ||||||
|   # Configure home-manager |   # Configure home-manager | ||||||
|   home-manager = { |   home-manager = { | ||||||
|  | @ -75,6 +77,7 @@ | ||||||
|     ### General |     ### General | ||||||
|     nano |     nano | ||||||
|     vim |     vim | ||||||
|  |     git | ||||||
| 
 | 
 | ||||||
|     ## Runtimes |     ## Runtimes | ||||||
|     nodejs_22 |     nodejs_22 | ||||||
|  |  | ||||||
|  | @ -8,25 +8,30 @@ | ||||||
|     [ (modulesPath + "/installer/scan/not-detected.nix") |     [ (modulesPath + "/installer/scan/not-detected.nix") | ||||||
|     ]; |     ]; | ||||||
| 
 | 
 | ||||||
|   boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ]; |   boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "uas" "sd_mod" ]; | ||||||
|   boot.initrd.kernelModules = [ ]; |   boot.initrd.kernelModules = [ ]; | ||||||
|   boot.kernelModules = [ "kvm-intel" ]; |   boot.kernelModules = [ "kvm-intel" ]; | ||||||
|   boot.extraModulePackages = [ ]; |   boot.extraModulePackages = [ ]; | ||||||
| 
 | 
 | ||||||
|   fileSystems."/" = |   fileSystems."/" = | ||||||
|     { device = "/dev/disk/by-uuid/3e3d6676-2bd6-44df-a8a7-c5e7647c4e95"; |     { device = "/dev/disk/by-uuid/5d4f9f57-085f-44a0-b987-bad24ff58769"; | ||||||
|       fsType = "btrfs"; |       fsType = "btrfs"; | ||||||
|       options = [ "subvol=@" ]; |       options = [ "subvol=@" ]; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|   fileSystems."/boot" = |   fileSystems."/boot" = | ||||||
|     { device = "/dev/disk/by-uuid/1C8C-F906"; |     { device = "/dev/disk/by-uuid/8D0F-2821"; | ||||||
|       fsType = "vfat"; |       fsType = "vfat"; | ||||||
|       options = [ "fmask=0077" "dmask=0077" ]; |       options = [ "fmask=0077" "dmask=0077" ]; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|  |   fileSystems."/mnt/storage" = | ||||||
|  |     { device = "/dev/disk/by-uuid/237eb43e-1e4e-4cb1-873e-6b07f1368f4f"; | ||||||
|  |       fsType = "ext4"; | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|   swapDevices = |   swapDevices = | ||||||
|     [ { device = "/dev/disk/by-uuid/b99e9370-10f7-4589-b7a2-59a256d75926"; } |     [ { device = "/dev/disk/by-uuid/42fc926f-f066-48e8-8c07-3627b2ba3cd4"; } | ||||||
|     ]; |     ]; | ||||||
| 
 | 
 | ||||||
|   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking | ||||||
|  | @ -34,7 +39,12 @@ | ||||||
|   # still possible to use this option, but it's recommended to use it in conjunction |   # still possible to use this option, but it's recommended to use it in conjunction | ||||||
|   # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. |   # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. | ||||||
|   networking.useDHCP = lib.mkDefault true; |   networking.useDHCP = lib.mkDefault true; | ||||||
|  |   # networking.interfaces.br-32acd0b5b342.useDHCP = lib.mkDefault true; | ||||||
|  |   # networking.interfaces.docker0.useDHCP = lib.mkDefault true; | ||||||
|   # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; |   # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; | ||||||
|  |   # networking.interfaces.veth0b3552e.useDHCP = lib.mkDefault true; | ||||||
|  |   # networking.interfaces.veth3873910.useDHCP = lib.mkDefault true; | ||||||
|  |   # networking.interfaces.veth9323c9b.useDHCP = lib.mkDefault true; | ||||||
|   # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; |   # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; | ||||||
| 
 | 
 | ||||||
|   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; |   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; | ||||||
|  |  | ||||||
|  | @ -12,6 +12,9 @@ | ||||||
|     inputs.hardware.nixosModules.common-pc-laptop-ssd |     inputs.hardware.nixosModules.common-pc-laptop-ssd | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|  |   # Configure SWAP | ||||||
|  |   swapDevices = [{ device = "/swapfile"; size = 8 * 1024; }]; # 8 GB swap partition | ||||||
|  | 
 | ||||||
|   # Configure Sops |   # Configure Sops | ||||||
|   sops.defaultSopsFile = lib.snowfall.fs.get-file "secrets/default.yaml"; |   sops.defaultSopsFile = lib.snowfall.fs.get-file "secrets/default.yaml"; | ||||||
|   sops.age.keyFile = "/var/lib/sops-nix/key.txt"; # The main AGE key is expected in this location, it is only needed for this system. |   sops.age.keyFile = "/var/lib/sops-nix/key.txt"; # The main AGE key is expected in this location, it is only needed for this system. | ||||||
|  | @ -63,15 +66,10 @@ | ||||||
|   # Set trusted users (Primarily used for cachix) |   # Set trusted users (Primarily used for cachix) | ||||||
|   nix.settings.trusted-users = ["root" "jo"]; |   nix.settings.trusted-users = ["root" "jo"]; | ||||||
| 
 | 
 | ||||||
|   # Configure additional groups |  | ||||||
|   users.groups.www-data = { |  | ||||||
|     gid = 33; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   # Configure users. |   # Configure users. | ||||||
|   snowfallorg.users.jo.admin = true; |   snowfallorg.users.jo.admin = true; | ||||||
|   users.users.jo.isNormalUser = true; |   users.users.jo.isNormalUser = true; | ||||||
|   users.users.jo.extraGroups = ["dialout" "docker" "www-data"]; |   users.users.jo.extraGroups = ["dialout" "docker"]; | ||||||
|   users.users.jo.hashedPasswordFile = config.sops.secrets."user/jo/password_hash".path; |   users.users.jo.hashedPasswordFile = config.sops.secrets."user/jo/password_hash".path; | ||||||
| 
 | 
 | ||||||
|   # Configure home-manager |   # Configure home-manager | ||||||
|  | @ -91,5 +89,5 @@ | ||||||
|     gnupg |     gnupg | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   system.stateVersion = "23.05"; |   system.stateVersion = "25.05"; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue