Compare commits
	
		
			9 Commits
		
	
	
		
			12240a9bc7
			...
			switching_
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 644f85194b | ||
|   | 1cdac1fd73 | ||
| 5b58e02b97 | |||
|   | 384092291c | ||
|   | f4e6ec8144 | ||
|   | 9a01abb83b | ||
|   | e832b7fd33 | ||
|   | b0b071749b | ||
|   | cd42fbdd59 | 
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1 +1,2 @@ | |||||||
| git-diff.txt | git-diff.txt | ||||||
|  | packages/result | ||||||
| @@ -10,16 +10,16 @@ | |||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|  |  | ||||||
|       logo = { |       # logo = { | ||||||
|         source = ./nixos.png; |       #   source = ./nixos.png; | ||||||
|         type = "kitty-direct"; |       #   type = "kitty-direct"; | ||||||
|         height = 15; |       #   height = 15; | ||||||
|         width = 30; |       #   width = 30; | ||||||
|         padding = { |       #   padding = { | ||||||
|           top = 3; |       #     top = 3; | ||||||
|           left = 3; |       #     left = 3; | ||||||
|         }; |       #   }; | ||||||
|       }; |       # }; | ||||||
|  |  | ||||||
|       modules = [ |       modules = [ | ||||||
|         "break" |         "break" | ||||||
|   | |||||||
| @@ -1,5 +1,6 @@ | |||||||
| { | { | ||||||
|   lib, |   lib, | ||||||
|  |   pkgs, | ||||||
|   username, |   username, | ||||||
|   host, |   host, | ||||||
|   config, |   config, | ||||||
| @@ -18,6 +19,7 @@ in | |||||||
|       enable = true; |       enable = true; | ||||||
|       xwayland.enable = true; |       xwayland.enable = true; | ||||||
|       systemd.enable = true; |       systemd.enable = true; | ||||||
|  |       portalPackage = pkgs.xdg-desktop-portal-hyprland; | ||||||
|       extraConfig = let |       extraConfig = let | ||||||
|         modifier = "SUPER"; |         modifier = "SUPER"; | ||||||
|       in |       in | ||||||
| @@ -95,6 +97,7 @@ in | |||||||
|             windowrulev2 = opacity 0.9 0.7, class:^(chrome-dbipeoijaciefjfbfdkpfncmlbfinpge-Default)$ |             windowrulev2 = opacity 0.9 0.7, class:^(chrome-dbipeoijaciefjfbfdkpfncmlbfinpge-Default)$ | ||||||
|             windowrulev2 = opacity 0.9 0.7, class:^(Bitwarden)$ |             windowrulev2 = opacity 0.9 0.7, class:^(Bitwarden)$ | ||||||
|             windowrulev2 = opacity 0.9 0.7, class:^(chrome-akpamiohjfcnimfljfndmaldlcfphjmp-Default)$ |             windowrulev2 = opacity 0.9 0.7, class:^(chrome-akpamiohjfcnimfljfndmaldlcfphjmp-Default)$ | ||||||
|  |             windowrulev2 = opacity 0.9 0.7, class:^(dev.warp.Warp)$ | ||||||
|             gestures { |             gestures { | ||||||
|               workspace_swipe = true |               workspace_swipe = true | ||||||
|               workspace_swipe_fingers = 3 |               workspace_swipe_fingers = 3 | ||||||
| @@ -212,7 +215,8 @@ in | |||||||
|             bind = ${modifier},I,exec,dex-instagram |             bind = ${modifier},I,exec,dex-instagram | ||||||
|             bind = ${modifier},R,exec,dex-portainer |             bind = ${modifier},R,exec,dex-portainer | ||||||
|             bind = ${modifier},U,exec,dex-mastodon |             bind = ${modifier},U,exec,dex-mastodon | ||||||
|             bind = ${modifier},Y,exec,dex-dailydev |             bind = ${modifier},Y,exec,freetube | ||||||
|  |             bind = ${modifier}SHIFT,Y,exec,dex-dailydev | ||||||
|             bind = ${modifier},V,exec,codium |             bind = ${modifier},V,exec,codium | ||||||
|             bind = ${modifier},O,exec,onlyoffice-desktopeditors |             bind = ${modifier},O,exec,onlyoffice-desktopeditors | ||||||
|             bind = ${modifier}SHIFT,O,exec,obs |             bind = ${modifier}SHIFT,O,exec,obs | ||||||
|   | |||||||
							
								
								
									
										104
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										104
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							| @@ -7,11 +7,11 @@ | |||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1744578060, |         "lastModified": 1748372346, | ||||||
|         "narHash": "sha256-ApX5u3aXtmthemPSnZls/oxvqpNR7C9t4Ut57MTvces=", |         "narHash": "sha256-7y7NZ6uW0GbT0h4gqfD2xvRuJj5IlPGw32oIc9Twga8=", | ||||||
|         "owner": "AdnanHodzic", |         "owner": "AdnanHodzic", | ||||||
|         "repo": "auto-cpufreq", |         "repo": "auto-cpufreq", | ||||||
|         "rev": "b6493edc7033beac216b8836af4994e56c6682f4", |         "rev": "becd5b89963fa54fef3566147f3fd2087f8a5842", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -25,11 +25,11 @@ | |||||||
|         "fromYaml": "fromYaml" |         "fromYaml": "fromYaml" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1732200724, |         "lastModified": 1746562888, | ||||||
|         "narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=", |         "narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=", | ||||||
|         "owner": "SenchoPens", |         "owner": "SenchoPens", | ||||||
|         "repo": "base16.nix", |         "repo": "base16.nix", | ||||||
|         "rev": "153d52373b0fb2d343592871009a286ec8837aec", |         "rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -95,11 +95,11 @@ | |||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "dir": "pkgs/firefox-addons", |         "dir": "pkgs/firefox-addons", | ||||||
|         "lastModified": 1744914542, |         "lastModified": 1748664200, | ||||||
|         "narHash": "sha256-Q6EKVSHbtWqndGWHw5E+dAN4ds5p+SD5Gyiy3KGN8DM=", |         "narHash": "sha256-D8sWEVVvxDBJsr8h26AGDfYjp56iKUIHCWaOKucDT2c=", | ||||||
|         "owner": "rycee", |         "owner": "rycee", | ||||||
|         "repo": "nur-expressions", |         "repo": "nur-expressions", | ||||||
|         "rev": "30303c2b08c30085a784abf5c1823bd62dd8d9d7", |         "rev": "b7d07ac2748936643abe8192065a2156f1a46d6e", | ||||||
|         "type": "gitlab" |         "type": "gitlab" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -112,11 +112,11 @@ | |||||||
|     "firefox-gnome-theme": { |     "firefox-gnome-theme": { | ||||||
|       "flake": false, |       "flake": false, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743774811, |         "lastModified": 1744642301, | ||||||
|         "narHash": "sha256-oiHLDHXq7ymsMVYSg92dD1OLnKLQoU/Gf2F1GoONLCE=", |         "narHash": "sha256-5A6LL7T0lttn1vrKsNOKUk9V0ittdW0VEqh6AtefxJ4=", | ||||||
|         "owner": "rafaelmardojai", |         "owner": "rafaelmardojai", | ||||||
|         "repo": "firefox-gnome-theme", |         "repo": "firefox-gnome-theme", | ||||||
|         "rev": "df53a7a31872faf5ca53dd0730038a62ec63ca9e", |         "rev": "59e3de00f01e5adb851d824cf7911bd90c31083a", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -144,7 +144,6 @@ | |||||||
|       "inputs": { |       "inputs": { | ||||||
|         "nixpkgs-lib": [ |         "nixpkgs-lib": [ | ||||||
|           "stylix", |           "stylix", | ||||||
|           "nur", |  | ||||||
|           "nixpkgs" |           "nixpkgs" | ||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
| @@ -162,27 +161,6 @@ | |||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "flake-utils": { |  | ||||||
|       "inputs": { |  | ||||||
|         "systems": [ |  | ||||||
|           "stylix", |  | ||||||
|           "systems" |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1731533236, |  | ||||||
|         "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", |  | ||||||
|         "owner": "numtide", |  | ||||||
|         "repo": "flake-utils", |  | ||||||
|         "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "numtide", |  | ||||||
|         "repo": "flake-utils", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "fromYaml": { |     "fromYaml": { | ||||||
|       "flake": false, |       "flake": false, | ||||||
|       "locked": { |       "locked": { | ||||||
| @@ -250,16 +228,16 @@ | |||||||
|     "gnome-shell": { |     "gnome-shell": { | ||||||
|       "flake": false, |       "flake": false, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1732369855, |         "lastModified": 1744584021, | ||||||
|         "narHash": "sha256-JhUWbcYPjHO3Xs3x9/Z9RuqXbcp5yhPluGjwsdE2GMg=", |         "narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=", | ||||||
|         "owner": "GNOME", |         "owner": "GNOME", | ||||||
|         "repo": "gnome-shell", |         "repo": "gnome-shell", | ||||||
|         "rev": "dadd58f630eeea41d645ee225a63f719390829dc", |         "rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|         "owner": "GNOME", |         "owner": "GNOME", | ||||||
|         "ref": "47.2", |         "ref": "48.1", | ||||||
|         "repo": "gnome-shell", |         "repo": "gnome-shell", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
| @@ -271,11 +249,11 @@ | |||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1744919155, |         "lastModified": 1748668774, | ||||||
|         "narHash": "sha256-IJksPW32V9gid9vDxoloJMRk+YGjxq5drFHBFeBkKU8=", |         "narHash": "sha256-fYk/vk4ClmvHIgnGv/5GNRiDLtNCwXo9aLq36L/x+P4=", | ||||||
|         "owner": "nix-community", |         "owner": "nix-community", | ||||||
|         "repo": "home-manager", |         "repo": "home-manager", | ||||||
|         "rev": "72526a5f7cde2ef9075637802a1e2a8d2d658f70", |         "rev": "60e4624302d956fe94d3f7d96a560d14d70591b9", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -287,11 +265,11 @@ | |||||||
|     }, |     }, | ||||||
|     "nixpkgs": { |     "nixpkgs": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1744463964, |         "lastModified": 1748460289, | ||||||
|         "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", |         "narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=", | ||||||
|         "owner": "nixos", |         "owner": "nixos", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", |         "rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -303,7 +281,10 @@ | |||||||
|     }, |     }, | ||||||
|     "nur": { |     "nur": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "flake-parts": "flake-parts", |         "flake-parts": [ | ||||||
|  |           "stylix", | ||||||
|  |           "flake-parts" | ||||||
|  |         ], | ||||||
|         "nixpkgs": [ |         "nixpkgs": [ | ||||||
|           "stylix", |           "stylix", | ||||||
|           "nixpkgs" |           "nixpkgs" | ||||||
| @@ -311,11 +292,11 @@ | |||||||
|         "treefmt-nix": "treefmt-nix" |         "treefmt-nix": "treefmt-nix" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743884191, |         "lastModified": 1746056780, | ||||||
|         "narHash": "sha256-foVcginhVvjg8ZnTzY5wwMeZ4wjJ8yX66PW5kgyivPE=", |         "narHash": "sha256-/emueQGaoT4vu0QjU9LDOG5roxRSfdY0K2KkxuzazcM=", | ||||||
|         "owner": "nix-community", |         "owner": "nix-community", | ||||||
|         "repo": "NUR", |         "repo": "NUR", | ||||||
|         "rev": "fde90f5f52e13eed110a0e53a2818a2b09e4d37c", |         "rev": "d476cd0972dd6242d76374fcc277e6735715c167", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -341,7 +322,7 @@ | |||||||
|         "base16-vim": "base16-vim", |         "base16-vim": "base16-vim", | ||||||
|         "firefox-gnome-theme": "firefox-gnome-theme", |         "firefox-gnome-theme": "firefox-gnome-theme", | ||||||
|         "flake-compat": "flake-compat", |         "flake-compat": "flake-compat", | ||||||
|         "flake-utils": "flake-utils", |         "flake-parts": "flake-parts", | ||||||
|         "git-hooks": "git-hooks", |         "git-hooks": "git-hooks", | ||||||
|         "gnome-shell": "gnome-shell", |         "gnome-shell": "gnome-shell", | ||||||
|         "home-manager": [ |         "home-manager": [ | ||||||
| @@ -359,11 +340,11 @@ | |||||||
|         "tinted-zed": "tinted-zed" |         "tinted-zed": "tinted-zed" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1744910471, |         "lastModified": 1748621009, | ||||||
|         "narHash": "sha256-HItOUMA2whFnPMJuyN2XHq9TZttgrgOAZcoUXsaD4Js=", |         "narHash": "sha256-X7SqoEEHVsR01GwL9WBs3tuSXdit7YdeBdIHrl+MlZQ=", | ||||||
|         "owner": "danth", |         "owner": "danth", | ||||||
|         "repo": "stylix", |         "repo": "stylix", | ||||||
|         "rev": "8d5cd725ad591890c0cd804bf68cc842b8afca51", |         "rev": "b69e9b761ee682b722e2c9ce46637e767b50f6dc", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -407,28 +388,27 @@ | |||||||
|     "tinted-kitty": { |     "tinted-kitty": { | ||||||
|       "flake": false, |       "flake": false, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1716423189, |         "lastModified": 1735730497, | ||||||
|         "narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=", |         "narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=", | ||||||
|         "owner": "tinted-theming", |         "owner": "tinted-theming", | ||||||
|         "repo": "tinted-kitty", |         "repo": "tinted-kitty", | ||||||
|         "rev": "eb39e141db14baef052893285df9f266df041ff8", |         "rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|         "owner": "tinted-theming", |         "owner": "tinted-theming", | ||||||
|         "repo": "tinted-kitty", |         "repo": "tinted-kitty", | ||||||
|         "rev": "eb39e141db14baef052893285df9f266df041ff8", |  | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "tinted-schemes": { |     "tinted-schemes": { | ||||||
|       "flake": false, |       "flake": false, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1742851696, |         "lastModified": 1744974599, | ||||||
|         "narHash": "sha256-sR4K+OVFKeUOvNIqcCr5Br7NLxOBEwoAgsIyjsZmb8s=", |         "narHash": "sha256-Fg+rdGs5FAgfkYNCs74lnl8vkQmiZVdBsziyPhVqrlY=", | ||||||
|         "owner": "tinted-theming", |         "owner": "tinted-theming", | ||||||
|         "repo": "schemes", |         "repo": "schemes", | ||||||
|         "rev": "c37771c4ae8ff1667e27ddcf24991ebeb94a4e77", |         "rev": "28c26a621123ad4ebd5bbfb34ab39421c0144bdd", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
| @@ -440,11 +420,11 @@ | |||||||
|     "tinted-tmux": { |     "tinted-tmux": { | ||||||
|       "flake": false, |       "flake": false, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1743296873, |         "lastModified": 1745111349, | ||||||
|         "narHash": "sha256-8IQulrb1OBSxMwdKijO9fB70ON//V32dpK9Uioy7FzY=", |         "narHash": "sha256-udV+nHdpqgkJI9D0mtvvAzbqubt9jdifS/KhTTbJ45w=", | ||||||
|         "owner": "tinted-theming", |         "owner": "tinted-theming", | ||||||
|         "repo": "tinted-tmux", |         "repo": "tinted-tmux", | ||||||
|         "rev": "af5152c8d7546dfb4ff6df94080bf5ff54f64e3a", |         "rev": "e009f18a01182b63559fb28f1c786eb027c3dee9", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ | |||||||
|  |  | ||||||
|     ./config/nixpkgs.nix |     ./config/nixpkgs.nix | ||||||
|     ./config/nixpkgs/clients.nix |     ./config/nixpkgs/clients.nix | ||||||
|     ./config/nixpkgs/codium.nix |     # ./config/nixpkgs/codium.nix | ||||||
|     ./config/nixpkgs/fundamentals.nix |     ./config/nixpkgs/fundamentals.nix | ||||||
|     ./config/nixpkgs/gaming.nix |     ./config/nixpkgs/gaming.nix | ||||||
|     ./config/nixpkgs/multimedia.nix |     ./config/nixpkgs/multimedia.nix | ||||||
|   | |||||||
| @@ -18,6 +18,7 @@ | |||||||
|       systemd-boot.enable = true; |       systemd-boot.enable = true; | ||||||
|       efi.canTouchEfiVariables = true; |       efi.canTouchEfiVariables = true; | ||||||
|     }; |     }; | ||||||
|  |     initrd.systemd.dbus.enable = true; | ||||||
|     # Make /tmp a tmpfs |     # Make /tmp a tmpfs | ||||||
|     tmp = { |     tmp = { | ||||||
|       useTmpfs = false; |       useTmpfs = false; | ||||||
|   | |||||||
| @@ -25,6 +25,11 @@ | |||||||
|   nixpkgs.config = { |   nixpkgs.config = { | ||||||
|     allowUnfree = true; |     allowUnfree = true; | ||||||
|     pulseaudio = true; |     pulseaudio = true; | ||||||
|  |     # packageOverrides = pkgs: { | ||||||
|  |     #   ulauncher = pkgs.ulauncher.override { | ||||||
|  |     #     autoStart = true; | ||||||
|  |     #   }; | ||||||
|  |     # }; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   # Extra Portal Configuration |   # Extra Portal Configuration | ||||||
| @@ -34,12 +39,19 @@ | |||||||
|     wlr.enable = true; |     wlr.enable = true; | ||||||
|     extraPortals = [ |     extraPortals = [ | ||||||
|       pkgs.xdg-desktop-portal-gtk |       pkgs.xdg-desktop-portal-gtk | ||||||
|       pkgs.xdg-desktop-portal |       pkgs.xdg-desktop-portal-hyprland | ||||||
|     ]; |     ]; | ||||||
|  |     config = { | ||||||
|  |       common = { | ||||||
|  |         default = [ | ||||||
|  |           "gtk" | ||||||
|  |           "hyprland" | ||||||
|  |         ]; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|     configPackages = [ |     configPackages = [ | ||||||
|       pkgs.xdg-desktop-portal-gtk |       pkgs.xdg-desktop-portal-gtk | ||||||
|       pkgs.xdg-desktop-portal-hyprland |       pkgs.xdg-desktop-portal-hyprland | ||||||
|       pkgs.xdg-desktop-portal |  | ||||||
|     ]; |     ]; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -12,5 +12,8 @@ | |||||||
|     docker-client |     docker-client | ||||||
|     anki-bin |     anki-bin | ||||||
|     onlyoffice-bin |     onlyoffice-bin | ||||||
|  |     freetube | ||||||
|  |     kdePackages.kdeconnect-kde | ||||||
|  |     calyx-vpn | ||||||
|   ]; |   ]; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,243 +1,240 @@ | |||||||
| {pkgs, ...}: { | # # TODO: Usunąć ten plik po przeniesieniu konfiguracji | ||||||
|   environment = { | # {pkgs, ...}: { | ||||||
|     systemPackages = with pkgs; [ | #   environment = { | ||||||
|       (vscode-with-extensions.override { | #     systemPackages = with pkgs; [ | ||||||
|         vscode = vscodium; | #       (vscode-with-extensions.override { | ||||||
|         vscodeExtensions = with vscode-extensions; | #         vscode = vscodium; | ||||||
|           [ | #         vscodeExtensions = with vscode-extensions; | ||||||
|             batisteo.vscode-django | #           [ | ||||||
|             bradlc.vscode-tailwindcss | #             batisteo.vscode-django | ||||||
|             christian-kohler.npm-intellisense | #             bradlc.vscode-tailwindcss | ||||||
|             christian-kohler.path-intellisense | #             christian-kohler.npm-intellisense | ||||||
|             continue.continue | #             christian-kohler.path-intellisense | ||||||
|             davidanson.vscode-markdownlint | #             continue.continue | ||||||
|             dbaeumer.vscode-eslint | #             davidanson.vscode-markdownlint | ||||||
|             donjayamanne.githistory | #             dbaeumer.vscode-eslint | ||||||
|             esbenp.prettier-vscode | #             donjayamanne.githistory | ||||||
|             ethansk.restore-terminals | #             esbenp.prettier-vscode | ||||||
|             formulahendry.auto-close-tag | #             ethansk.restore-terminals | ||||||
|             formulahendry.auto-rename-tag | #             formulahendry.auto-close-tag | ||||||
|             grapecity.gc-excelviewer | #             formulahendry.auto-rename-tag | ||||||
|             gruntfuggly.todo-tree | #             grapecity.gc-excelviewer | ||||||
|             hediet.vscode-drawio | #             gruntfuggly.todo-tree | ||||||
|             jnoortheen.nix-ide | #             hediet.vscode-drawio | ||||||
|             mechatroner.rainbow-csv | #             jnoortheen.nix-ide | ||||||
|             ms-azuretools.vscode-docker | #             mechatroner.rainbow-csv | ||||||
|             ms-python.debugpy | #             ms-azuretools.vscode-docker | ||||||
|             ms-python.flake8 | #             njpwerner.autodocstring | ||||||
|             ms-python.python | #             octref.vetur | ||||||
|             ms-python.vscode-pylance | #             oderwat.indent-rainbow | ||||||
|             njpwerner.autodocstring | #             shd101wyy.markdown-preview-enhanced | ||||||
|             octref.vetur | #             streetsidesoftware.code-spell-checker | ||||||
|             oderwat.indent-rainbow | #             supermaven.supermaven | ||||||
|             shd101wyy.markdown-preview-enhanced | #             tomoki1207.pdf | ||||||
|             streetsidesoftware.code-spell-checker | #             visualstudioexptteam.intellicode-api-usage-examples | ||||||
|             supermaven.supermaven | #             visualstudioexptteam.vscodeintellicode | ||||||
|             tomoki1207.pdf | #             vscode-icons-team.vscode-icons | ||||||
|             visualstudioexptteam.intellicode-api-usage-examples | #             vue.volar | ||||||
|             visualstudioexptteam.vscodeintellicode | #             wholroyd.jinja | ||||||
|             vscode-icons-team.vscode-icons | #             yoavbls.pretty-ts-errors | ||||||
|             vue.volar | #             tamasfe.even-better-toml | ||||||
|             wholroyd.jinja | #             ms-ceintl.vscode-language-pack-pl | ||||||
|             yoavbls.pretty-ts-errors | #           ] | ||||||
|             tamasfe.even-better-toml | #           ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ | ||||||
|             ms-ceintl.vscode-language-pack-pl | #             { | ||||||
|           ] | #               name = "goto-alias"; | ||||||
|           ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ | #               publisher = "antfu"; | ||||||
|             { | #               version = "0.2.1"; | ||||||
|               name = "goto-alias"; | #               hash = "sha256-BJBJVG/zW2BW6K0UqQ4EE12VVIxW3g+z5CecZXRPIrM="; | ||||||
|               publisher = "antfu"; | #             } | ||||||
|               version = "0.2.1"; | #             { | ||||||
|               hash = "sha256-BJBJVG/zW2BW6K0UqQ4EE12VVIxW3g+z5CecZXRPIrM="; | #               name = "vite"; | ||||||
|             } | #               publisher = "antfu"; | ||||||
|             { | #               version = "0.2.5"; | ||||||
|               name = "vite"; | #               hash = "sha256-F3uaqoaLXLE7M8OPzNIIUSraTBeRMwtjxrbgQyMIyZE="; | ||||||
|               publisher = "antfu"; | #             } | ||||||
|               version = "0.2.5"; | #             { | ||||||
|               hash = "sha256-F3uaqoaLXLE7M8OPzNIIUSraTBeRMwtjxrbgQyMIyZE="; | #               name = "django-html"; | ||||||
|             } | #               publisher = "bibhasdn"; | ||||||
|             { | #               version = "1.3.0"; | ||||||
|               name = "django-html"; | #               hash = "sha256-7xVJVcjmwl6917lqkTa0KFwMLkAvHkNT2wVML14gVCk="; | ||||||
|               publisher = "bibhasdn"; | #             } | ||||||
|               version = "1.3.0"; | #             { | ||||||
|               hash = "sha256-7xVJVcjmwl6917lqkTa0KFwMLkAvHkNT2wVML14gVCk="; | #               name = "django"; | ||||||
|             } | #               publisher = "bigonesystems"; | ||||||
|             { | #               version = "1.0.2"; | ||||||
|               name = "django"; | #               hash = "sha256-UBmvaCiNQ84qpAObDWyFL18TVFBn0z/6SBDKWeAIzTc="; | ||||||
|               publisher = "bigonesystems"; | #             } | ||||||
|               version = "1.0.2"; | #             { | ||||||
|               hash = "sha256-UBmvaCiNQ84qpAObDWyFL18TVFBn0z/6SBDKWeAIzTc="; | #               name = "align-imports"; | ||||||
|             } | #               publisher = "danielcanada"; | ||||||
|             { | #               version = "0.1.0"; | ||||||
|               name = "align-imports"; | #               hash = "sha256-Aj87mxOGer24O24/4/bGQqgLpgoBvfwOCKQyJ8NLplU="; | ||||||
|               publisher = "danielcanada"; | #             } | ||||||
|               version = "0.1.0"; | #             { | ||||||
|               hash = "sha256-Aj87mxOGer24O24/4/bGQqgLpgoBvfwOCKQyJ8NLplU="; | #               name = "one-dark-pro-monokai-darker"; | ||||||
|             } | #               publisher = "eserozvataf"; | ||||||
|             { | #               version = "1.1.0"; | ||||||
|               name = "vscode-python-envs"; | #               hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI="; | ||||||
|               publisher = "ms-python"; | #             } | ||||||
|               version = "0.3.11081010"; | #             { | ||||||
|               hash = "sha256-Vs9Rkz/DAhNcC9e8fI8mlD8TljsFdU8+z7ztNkZozz0="; | #               name = "imports-sorter"; | ||||||
|             } | #               publisher = "glhrmoura"; | ||||||
|             { | #               version = "0.1.6"; | ||||||
|               name = "one-dark-pro-monokai-darker"; | #               hash = "sha256-M+SWEJAwn8wPJJ+abi2mN0ziK7P6Sjt0iRAKSyTWvkg="; | ||||||
|               publisher = "eserozvataf"; | #             } | ||||||
|               version = "1.1.0"; | #             { | ||||||
|               hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI="; | #               name = "bootstrap-intellisense"; | ||||||
|             } | #               publisher = "hossaini"; | ||||||
|             { | #               version = "3.0.2"; | ||||||
|               name = "imports-sorter"; | #               hash = "sha256-stZfbh42HncdRzFZ9ShumZ9Tuery9RF9c8rk3TD3P2g="; | ||||||
|               publisher = "glhrmoura"; | #             } | ||||||
|               version = "0.1.6"; | #             { | ||||||
|               hash = "sha256-M+SWEJAwn8wPJJ+abi2mN0ziK7P6Sjt0iRAKSyTWvkg="; | #               name = "tab-indent-space-align"; | ||||||
|             } | #               publisher = "j-zeppenfeld"; | ||||||
|             { | #               version = "0.0.3"; | ||||||
|               name = "bootstrap-intellisense"; | #               hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc="; | ||||||
|               publisher = "hossaini"; | #             } | ||||||
|               version = "3.0.2"; | #             { | ||||||
|               hash = "sha256-stZfbh42HncdRzFZ9ShumZ9Tuery9RF9c8rk3TD3P2g="; | #               name = "bun-lockb"; | ||||||
|             } | #               publisher = "jaaxxx"; | ||||||
|             { | #               version = "0.0.7"; | ||||||
|               name = "tab-indent-space-align"; | #               hash = "sha256-CkdH/luVTFycRn4Td6ovFnEQep+tVEIXsyUjhfJwfN4="; | ||||||
|               publisher = "j-zeppenfeld"; | #             } | ||||||
|               version = "0.0.3"; | #             { | ||||||
|               hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc="; | #               name = "search-node-modules"; | ||||||
|             } | #               publisher = "jasonnutter"; | ||||||
|             { | #               version = "1.3.0"; | ||||||
|               name = "bun-lockb"; | #               hash = "sha256-X2CkCVF46McnXDlASlRHKixlAzR+hU4ys8A8JsbpfYI="; | ||||||
|               publisher = "jaaxxx"; | #             } | ||||||
|               version = "0.0.7"; | #             { | ||||||
|               hash = "sha256-CkdH/luVTFycRn4Td6ovFnEQep+tVEIXsyUjhfJwfN4="; | #               name = "polacode-2019"; | ||||||
|             } | #               publisher = "jeff-hykin"; | ||||||
|             { | #               version = "0.6.1"; | ||||||
|               name = "search-node-modules"; | #               hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI="; | ||||||
|               publisher = "jasonnutter"; | #             } | ||||||
|               version = "1.3.0"; | #             { | ||||||
|               hash = "sha256-X2CkCVF46McnXDlASlRHKixlAzR+hU4ys8A8JsbpfYI="; | #               name = "better-syntax"; | ||||||
|             } | #               publisher = "jeff-hykin"; | ||||||
|             { | #               version = "2.1.0"; | ||||||
|               name = "polacode-2019"; | #               hash = "sha256-gvEItVs0IKn7N7vfnm5N/B79xeMxO8xkPwWLNPOs9zY="; | ||||||
|               publisher = "jeff-hykin"; | #             } | ||||||
|               version = "0.6.1"; | #             { | ||||||
|               hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI="; | #               name = "vsc-python-indent"; | ||||||
|             } | #               publisher = "kevinrose"; | ||||||
|             { | #               version = "1.21.0"; | ||||||
|               name = "better-syntax"; | #               hash = "sha256-SvJhVG8sofzV0PebZG4IIORX3AcfmErDQ00tRF9fk/4="; | ||||||
|               publisher = "jeff-hykin"; | #             } | ||||||
|               version = "2.1.0"; | #             { | ||||||
|               hash = "sha256-gvEItVs0IKn7N7vfnm5N/B79xeMxO8xkPwWLNPOs9zY="; | #               name = "json-to-ts"; | ||||||
|             } | #               publisher = "mariusalchimavicius"; | ||||||
|             { | #               version = "1.8.0"; | ||||||
|               name = "vsc-python-indent"; | #               hash = "sha256-WoSycVtUAkVXv7BDuh+jFbnaU1IdVLvVjOYuIuUp79M="; | ||||||
|               publisher = "kevinrose"; | #             } | ||||||
|               version = "1.21.0"; | #             { | ||||||
|               hash = "sha256-SvJhVG8sofzV0PebZG4IIORX3AcfmErDQ00tRF9fk/4="; | #               name = "inline-fold"; | ||||||
|             } | #               publisher = "moalamri"; | ||||||
|             { | #               version = "0.2.6"; | ||||||
|               name = "json-to-ts"; | #               hash = "sha256-VPEp4gtXH787iK0RxjfciIZO1cjkYacjNELzjzcs/FI="; | ||||||
|               publisher = "mariusalchimavicius"; | #             } | ||||||
|               version = "1.8.0"; | #             { | ||||||
|               hash = "sha256-WoSycVtUAkVXv7BDuh+jFbnaU1IdVLvVjOYuIuUp79M="; | #               name = "mdc"; | ||||||
|             } | #               publisher = "nuxt"; | ||||||
|             { | #               version = "0.3.1"; | ||||||
|               name = "inline-fold"; | #               hash = "sha256-YJ+7gzDjA8kzxBwGLpEmfx0erJdgAntWc2OrK2zp9DM="; | ||||||
|               publisher = "moalamri"; | #             } | ||||||
|               version = "0.2.6"; | #             { | ||||||
|               hash = "sha256-VPEp4gtXH787iK0RxjfciIZO1cjkYacjNELzjzcs/FI="; | #               name = "nuxtr-vscode"; | ||||||
|             } | #               publisher = "nuxtr"; | ||||||
|             { | #               version = "0.2.16"; | ||||||
|               name = "mdc"; | #               hash = "sha256-DVoq8zdlJ2ch8PCG34f1PRkILym9XdclUHQ9s2B5OME="; | ||||||
|               publisher = "nuxt"; | #             } | ||||||
|               version = "0.3.1"; | #             { | ||||||
|               hash = "sha256-YJ+7gzDjA8kzxBwGLpEmfx0erJdgAntWc2OrK2zp9DM="; | #               name = "bun-vscode"; | ||||||
|             } | #               publisher = "oven"; | ||||||
|             { | #               version = "0.0.28"; | ||||||
|               name = "nuxtr-vscode"; | #               hash = "sha256-WlGqqKbfrV0gqCCdVo/UFF+Gnxhq0TNJ4LuHwFaFYXA="; | ||||||
|               publisher = "nuxtr"; | #             } | ||||||
|               version = "0.2.16"; | #             { | ||||||
|               hash = "sha256-DVoq8zdlJ2ch8PCG34f1PRkILym9XdclUHQ9s2B5OME="; | #               name = "csv-to-table"; | ||||||
|             } | #               publisher = "phplasma"; | ||||||
|             { | #               version = "1.4.1"; | ||||||
|               name = "bun-vscode"; | #               hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50="; | ||||||
|               publisher = "oven"; | #             } | ||||||
|               version = "0.0.28"; | #             { | ||||||
|               hash = "sha256-WlGqqKbfrV0gqCCdVo/UFF+Gnxhq0TNJ4LuHwFaFYXA="; | #               name = "nuxt-snippets"; | ||||||
|             } | #               publisher = "praburangki"; | ||||||
|             { | #               version = "1.8.0"; | ||||||
|               name = "csv-to-table"; | #               hash = "sha256-qrWrrDO/Ie/mdygw18C0mrPzNQzZLsd+fapUyTVhc14="; | ||||||
|               publisher = "phplasma"; | #             } | ||||||
|               version = "1.4.1"; | #             { | ||||||
|               hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50="; | #               name = "bash-debug"; | ||||||
|             } | #               publisher = "rogalmic"; | ||||||
|             { | #               version = "0.3.9"; | ||||||
|               name = "nuxt-snippets"; | #               hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg="; | ||||||
|               publisher = "praburangki"; | #             } | ||||||
|               version = "1.8.0"; | #             { | ||||||
|               hash = "sha256-qrWrrDO/Ie/mdygw18C0mrPzNQzZLsd+fapUyTVhc14="; | #               name = "vs-code-prettier-eslint"; | ||||||
|             } | #               publisher = "rvest"; | ||||||
|             { | #               version = "6.0.0"; | ||||||
|               name = "bash-debug"; | #               hash = "sha256-PogNeKhIlcGxUKrW5gHvFhNluUelWDGHCdg5K+xGXJY="; | ||||||
|               publisher = "rogalmic"; | #             } | ||||||
|               version = "0.3.9"; | #             { | ||||||
|               hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg="; | #               name = "vscode-preview-docs"; | ||||||
|             } | #               publisher = "selemondev"; | ||||||
|             { | #               version = "0.1.7"; | ||||||
|               name = "vs-code-prettier-eslint"; | #               hash = "sha256-Q9bEIb2m6cqHtdVjOaNivfYvbc5/VVdabM2NVTwBOFA="; | ||||||
|               publisher = "rvest"; | #             } | ||||||
|               version = "6.0.0"; | #             { | ||||||
|               hash = "sha256-PogNeKhIlcGxUKrW5gHvFhNluUelWDGHCdg5K+xGXJY="; | #               name = "svg-preview"; | ||||||
|             } | #               publisher = "simonsiefke"; | ||||||
|             { | #               version = "2.8.3"; | ||||||
|               name = "vscode-preview-docs"; | #               hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw="; | ||||||
|               publisher = "selemondev"; | #             } | ||||||
|               version = "0.1.7"; | #             { | ||||||
|               hash = "sha256-Q9bEIb2m6cqHtdVjOaNivfYvbc5/VVdabM2NVTwBOFA="; | #               name = "autoimport"; | ||||||
|             } | #               publisher = "steoates"; | ||||||
|             { | #               version = "1.5.4"; | ||||||
|               name = "svg-preview"; | #               hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY="; | ||||||
|               publisher = "simonsiefke"; | #             } | ||||||
|               version = "2.8.3"; | #             { | ||||||
|               hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw="; | #               name = "code-spell-checker-polish"; | ||||||
|             } | #               publisher = "streetsidesoftware"; | ||||||
|             { | #               version = "2.1.3"; | ||||||
|               name = "autoimport"; | #               hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0="; | ||||||
|               publisher = "steoates"; | #             } | ||||||
|               version = "1.5.4"; | #             { | ||||||
|               hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY="; | #               name = "vscode-pets"; | ||||||
|             } | #               publisher = "tonybaloney"; | ||||||
|             { | #               version = "1.30.0"; | ||||||
|               name = "code-spell-checker-polish"; | #               hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM="; | ||||||
|               publisher = "streetsidesoftware"; | #             } | ||||||
|               version = "2.1.3"; | #             { | ||||||
|               hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0="; | #               name = "explorer"; | ||||||
|             } | #               publisher = "vitest"; | ||||||
|             { | #               version = "1.17.0"; | ||||||
|               name = "vscode-pets"; | #               hash = "sha256-7OePMFsWIyrPkAW/+SRiOoowluLMEszEjWmBsW0LPpc="; | ||||||
|               publisher = "tonybaloney"; | #             } | ||||||
|               version = "1.30.0"; | #             { | ||||||
|               hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM="; | #               name = "prettify-json"; | ||||||
|             } | #               publisher = "mohsen1"; | ||||||
|             { | #               version = "0.0.3"; | ||||||
|               name = "explorer"; | #               hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo="; | ||||||
|               publisher = "vitest"; | #             } | ||||||
|               version = "1.17.0"; | #             { | ||||||
|               hash = "sha256-7OePMFsWIyrPkAW/+SRiOoowluLMEszEjWmBsW0LPpc="; | #               name = "uv-toolkit"; | ||||||
|             } | #               publisher = "the0807"; | ||||||
|             { | #               version = "0.0.2"; | ||||||
|               name = "prettify-json"; | #               hash = "sha256-OXHUwynWm4RqJYjcv5qXt5DyjFDxtNjZFNpnd22gUgg="; | ||||||
|               publisher = "mohsen1"; | #             } | ||||||
|               version = "0.0.3"; | #             { | ||||||
|               hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo="; | #               name = "kylin-python"; | ||||||
|             } | #               publisher = "kylinideteam"; | ||||||
|             { | #               version = "0.4.2"; | ||||||
|               name = "uv-toolkit"; | #               hash = "sha256-LhOsIvECrxLCnRjUVffS4G4fFsdP70iP/twoNoto354="; | ||||||
|               publisher = "the0807"; | #             } | ||||||
|               version = "0.0.2"; | #           ]; | ||||||
|               hash = "sha256-OXHUwynWm4RqJYjcv5qXt5DyjFDxtNjZFNpnd22gUgg="; | #       }) | ||||||
|             } | #     ]; | ||||||
|           ]; | #   }; | ||||||
|       }) | # } | ||||||
|     ]; |  | ||||||
|   }; |  | ||||||
| } |  | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| # Fundamentalne programy dla systemu | # Fundamentalne programy dla systemu | ||||||
| {pkgs, ...}: { | {pkgs, ...}: { | ||||||
|   environment.systemPackages = with pkgs; [ |   environment.systemPackages = with pkgs; [ | ||||||
|  |     warp-terminal | ||||||
|     wget |     wget | ||||||
|     killall |     killall | ||||||
|     eza |     eza | ||||||
|   | |||||||
| @@ -69,6 +69,11 @@ | |||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|  |     hyprland = { | ||||||
|  |       enable = true; | ||||||
|  |       withUWSM = true; | ||||||
|  |       portalPackage = pkgs.xdg-desktop-portal-hyprland; | ||||||
|  |     }; | ||||||
|     dconf.enable = true; |     dconf.enable = true; | ||||||
|     seahorse.enable = true; |     seahorse.enable = true; | ||||||
|     fuse.userAllowOther = true; |     fuse.userAllowOther = true; | ||||||
|   | |||||||
| @@ -12,6 +12,7 @@ | |||||||
|     ../../config/wlogout.nix |     ../../config/wlogout.nix | ||||||
|     ../../config/fastfetch |     ../../config/fastfetch | ||||||
|  |  | ||||||
|  |     ./home/codium.nix | ||||||
|     ./home/home.nix |     ./home/home.nix | ||||||
|     ./home/misc.nix |     ./home/misc.nix | ||||||
|     ./home/programs.nix |     ./home/programs.nix | ||||||
|   | |||||||
							
								
								
									
										23
									
								
								hosts/garand-laptop/home/codium.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								hosts/garand-laptop/home/codium.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | |||||||
|  | { | ||||||
|  |   pkgs, | ||||||
|  |   lib, | ||||||
|  |   ... | ||||||
|  | }: let | ||||||
|  |   default = import ./codium/default.nix {inherit pkgs;}; | ||||||
|  |   webdev-vue = import ./codium/webdev-vue.nix {inherit pkgs;}; | ||||||
|  |   python-django = import ./codium/python-django.nix {inherit pkgs;}; | ||||||
|  |   rust-tauri = import ./codium/rust-tauri.nix {inherit pkgs;}; | ||||||
|  |   rust-bevy = import ./codium/rust-bevy.nix {inherit pkgs;}; | ||||||
|  | in { | ||||||
|  |   programs.vscode = lib.mkDefault { | ||||||
|  |     enable = true; | ||||||
|  |     package = pkgs.vscodium; | ||||||
|  |     profiles = { | ||||||
|  |       inherit (default.programs.vscode.profiles) default; | ||||||
|  |       inherit (webdev-vue.programs.vscode.profiles) webdev-vue; | ||||||
|  |       inherit (python-django.programs.vscode.profiles) python-django; | ||||||
|  |       inherit (rust-tauri.programs.vscode.profiles) rust-tauri; | ||||||
|  |       inherit (rust-bevy.programs.vscode.profiles) rust-bevy; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
							
								
								
									
										261
									
								
								hosts/garand-laptop/home/codium/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										261
									
								
								hosts/garand-laptop/home/codium/default.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,261 @@ | |||||||
|  | {pkgs, ...}: { | ||||||
|  |   programs.vscode.profiles.default = { | ||||||
|  |     extensions = with pkgs.vscode-extensions; | ||||||
|  |       [ | ||||||
|  |         christian-kohler.path-intellisense | ||||||
|  |         continue.continue | ||||||
|  |         davidanson.vscode-markdownlint | ||||||
|  |         donjayamanne.githistory | ||||||
|  |         ethansk.restore-terminals | ||||||
|  |         formulahendry.auto-close-tag | ||||||
|  |         formulahendry.auto-rename-tag | ||||||
|  |         gruntfuggly.todo-tree | ||||||
|  |         jnoortheen.nix-ide | ||||||
|  |         mechatroner.rainbow-csv | ||||||
|  |         ms-azuretools.vscode-docker | ||||||
|  |         oderwat.indent-rainbow | ||||||
|  |         shd101wyy.markdown-preview-enhanced | ||||||
|  |         streetsidesoftware.code-spell-checker | ||||||
|  |         supermaven.supermaven | ||||||
|  |         tomoki1207.pdf | ||||||
|  |         visualstudioexptteam.intellicode-api-usage-examples | ||||||
|  |         visualstudioexptteam.vscodeintellicode | ||||||
|  |         vscode-icons-team.vscode-icons | ||||||
|  |         tamasfe.even-better-toml | ||||||
|  |         ms-ceintl.vscode-language-pack-pl | ||||||
|  |       ] | ||||||
|  |       ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ | ||||||
|  |         { | ||||||
|  |           name = "one-dark-pro-monokai-darker"; | ||||||
|  |           publisher = "eserozvataf"; | ||||||
|  |           version = "1.1.0"; | ||||||
|  |           hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "tab-indent-space-align"; | ||||||
|  |           publisher = "j-zeppenfeld"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "polacode-2019"; | ||||||
|  |           publisher = "jeff-hykin"; | ||||||
|  |           version = "0.6.1"; | ||||||
|  |           hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "csv-to-table"; | ||||||
|  |           publisher = "phplasma"; | ||||||
|  |           version = "1.4.1"; | ||||||
|  |           hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "bash-debug"; | ||||||
|  |           publisher = "rogalmic"; | ||||||
|  |           version = "0.3.9"; | ||||||
|  |           hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "svg-preview"; | ||||||
|  |           publisher = "simonsiefke"; | ||||||
|  |           version = "2.8.3"; | ||||||
|  |           hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "autoimport"; | ||||||
|  |           publisher = "steoates"; | ||||||
|  |           version = "1.5.4"; | ||||||
|  |           hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "code-spell-checker-polish"; | ||||||
|  |           publisher = "streetsidesoftware"; | ||||||
|  |           version = "2.1.3"; | ||||||
|  |           hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "vscode-pets"; | ||||||
|  |           publisher = "tonybaloney"; | ||||||
|  |           version = "1.30.0"; | ||||||
|  |           hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "prettify-json"; | ||||||
|  |           publisher = "mohsen1"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo="; | ||||||
|  |         } | ||||||
|  |       ]; | ||||||
|  |     userSettings = { | ||||||
|  |       # Editor appearance and behavior | ||||||
|  |       "editor.cursorBlinking" = "expand"; | ||||||
|  |       "editor.foldingImportsByDefault" = true; | ||||||
|  |       "editor.fontFamily" = "FiraCode Nerd Font"; | ||||||
|  |       "editor.formatOnPaste" = true; | ||||||
|  |       "editor.formatOnSave" = true; | ||||||
|  |       "editor.guides.bracketPairs" = false; | ||||||
|  |       "editor.guides.indentation" = false; | ||||||
|  |       "editor.inlayHints.enabled" = "off"; | ||||||
|  |       "editor.inlineSuggest.showToolbar" = "always"; | ||||||
|  |       "editor.largeFileOptimizations" = false; | ||||||
|  |       "editor.minimap.enabled" = false; | ||||||
|  |       "editor.quickSuggestions" = { | ||||||
|  |         "strings" = "on"; | ||||||
|  |       }; | ||||||
|  |       "editor.suggestFontSize" = 16; | ||||||
|  |       "editor.suggestLineHeight" = 30; | ||||||
|  |       "editor.tabSize" = 2; | ||||||
|  |       "editor.unicodeHighlight.ambiguousCharacters" = false; | ||||||
|  |       "editor.unicodeHighlight.invisibleCharacters" = false; | ||||||
|  |       "editor.wordWrap" = "off"; | ||||||
|  |       "editor.hover.enabled" = true; | ||||||
|  |       "editor.gotoLocation.multipleDefinitions" = "goto"; | ||||||
|  |       # Workbench settings | ||||||
|  |       "workbench.colorCustomizations" = { | ||||||
|  |         "editor.lineHighlightBackground" = "#1073cf2d"; | ||||||
|  |         "editor.lineHighlightBorder" = "#9fced11f"; | ||||||
|  |       }; | ||||||
|  |       "workbench.colorTheme" = "One Dark Pro Monokai Darker"; | ||||||
|  |       "workbench.iconTheme" = "vscode-icons"; | ||||||
|  |       "workbench.startupEditor" = "none"; | ||||||
|  |       # Terminal settings | ||||||
|  |       "terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono"; | ||||||
|  |       # Git settings | ||||||
|  |       "git.confirmSync" = false; | ||||||
|  |       "git.enableSmartCommit" = true; | ||||||
|  |       # Explorer settings | ||||||
|  |       "explorer.confirmDelete" = false; | ||||||
|  |       "explorer.confirmDragAndDrop" = false; | ||||||
|  |       # Diff editor settings | ||||||
|  |       "diffEditor.ignoreTrimWhitespace" = false; | ||||||
|  |       "diffEditor.wordWrap" = "off"; | ||||||
|  |       # Zen mode settings | ||||||
|  |       "zenMode.centerLayout" = false; | ||||||
|  |       "zenMode.hideActivityBar" = false; | ||||||
|  |       "zenMode.hideLineNumbers" = false; | ||||||
|  |       # File associations | ||||||
|  |       "files.associations" = { | ||||||
|  |         "*.html" = "html"; | ||||||
|  |         "*.txt" = "plaintext"; | ||||||
|  |       }; | ||||||
|  |       # Navigation and intellisense | ||||||
|  |       "path-intellisense.extensionOnImport" = true; | ||||||
|  |       # Markdown settings | ||||||
|  |       "markdown-preview-enhanced.previewTheme" = "one-dark.css"; | ||||||
|  |       # Extension specific settings | ||||||
|  |       "supermaven.allowGitignore" = true; | ||||||
|  |       "supermaven.enable" = { | ||||||
|  |         "*" = true; | ||||||
|  |       }; | ||||||
|  |       "continue.enableTabAutocomplete" = false; | ||||||
|  |       "continue.showInlineTip" = false; | ||||||
|  |       "continue.telemetryEnabled" = false; | ||||||
|  |       "hediet.vscode-drawio.resizeImages" = null; | ||||||
|  |       "todo-tree.highlights.useColourScheme" = true; | ||||||
|  |       "vite.autoStart" = false; | ||||||
|  |       # Syntax highlighting and appearance | ||||||
|  |       "indentRainbow.colorOnWhiteSpaceOnly" = true; | ||||||
|  |       "indentRainbow.indicatorStyle" = "light"; | ||||||
|  |       "indentRainbow.lightIndicatorStyleLineWidth" = 4; | ||||||
|  |       # Spelling and language | ||||||
|  |       "cSpell.language" = "en,pl"; | ||||||
|  |       "cSpell.userWords" = [ | ||||||
|  |         "garand" | ||||||
|  |         "Garand's" | ||||||
|  |         "garandplg" | ||||||
|  |         "garands" | ||||||
|  |         "lockb" | ||||||
|  |         "Shadcn" | ||||||
|  |         "Vite" | ||||||
|  |       ]; | ||||||
|  |       # Security and trust | ||||||
|  |       "security.workspace.trust.untrustedFiles" = "open"; | ||||||
|  |       # Remote development | ||||||
|  |       "remote.autoForwardPortsSource" = "hybrid"; | ||||||
|  |       # Misc | ||||||
|  |       "vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue"; | ||||||
|  |       "githubLocalActions.workflowsDirectory" = ".gitea/workflows"; | ||||||
|  |     }; | ||||||
|  |     languageSnippets = { | ||||||
|  |       "jsonc,json,jsonl" = { | ||||||
|  |         "Restore Terminals" = { | ||||||
|  |           body = [ | ||||||
|  |             " \"restoreTerminals.terminals\": [" | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"server\"," | ||||||
|  |             "          \"commands\": [\"npm i\", \"npm run dev\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"client\"," | ||||||
|  |             "          \"commands\": [\"npm run dev:client\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"test\"," | ||||||
|  |             "          \"commands\": [\"jest --watch\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }," | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"build & e2e\"," | ||||||
|  |             "          \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"]," | ||||||
|  |             "          \"shouldRunCommands\": false" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"worker\"," | ||||||
|  |             "          \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }" | ||||||
|  |             "  ]" | ||||||
|  |           ]; | ||||||
|  |           description = "Boilerplate for restore terminals"; | ||||||
|  |           prefix = [ | ||||||
|  |             "term" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |       "nix" = { | ||||||
|  |         "Nix-Shell-Default" = { | ||||||
|  |           body = [ | ||||||
|  |             "{" | ||||||
|  |             "  pkgs ? import <nixpkgs> {}," | ||||||
|  |             "}:" | ||||||
|  |             "pkgs.mkShell {" | ||||||
|  |             "  packages = with pkgs; [];" | ||||||
|  |             "}" | ||||||
|  |           ]; | ||||||
|  |           description = "Podstawa do shelli nix"; | ||||||
|  |           prefix = [ | ||||||
|  |             "nix-shell" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |     keybindings = [ | ||||||
|  |       { | ||||||
|  |         "key" = "tab"; | ||||||
|  |         "command" = "-editor.emmet.action.expandAbbreviation"; | ||||||
|  |         "when" = "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"; | ||||||
|  |       } | ||||||
|  |       { | ||||||
|  |         "key" = "tab"; | ||||||
|  |         "command" = "-editor.action.inlineSuggest.jump"; | ||||||
|  |         "when" = "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible"; | ||||||
|  |       } | ||||||
|  |       { | ||||||
|  |         "key" = "tab"; | ||||||
|  |         "command" = "-Alignment Preserving Indent"; | ||||||
|  |         "when" = "editorTextFocus && !editorReadOnly && !editorTabMovesFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion != 'on'"; | ||||||
|  |       } | ||||||
|  |       { | ||||||
|  |         "key" = "tab"; | ||||||
|  |         "command" = "-Alignment Preserving Indent"; | ||||||
|  |         "when" = "editorTextFocus && !editorReadOnly && !editorTabMovesFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"; | ||||||
|  |       } | ||||||
|  |     ]; | ||||||
|  |   }; | ||||||
|  | } | ||||||
							
								
								
									
										23
									
								
								hosts/garand-laptop/home/codium/lib.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								hosts/garand-laptop/home/codium/lib.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | |||||||
|  | {...}: { | ||||||
|  |   # This function merges a default profile with specific overrides | ||||||
|  |   # It takes the default profile settings, extensions, keybindings, etc., and merges them with profile-specific ones | ||||||
|  |   mergeProfile = defaultProfile: specificProfile: { | ||||||
|  |     extensions = (defaultProfile.extensions or []) ++ (specificProfile.extensions or []); | ||||||
|  |  | ||||||
|  |     userSettings = (defaultProfile.userSettings or {}) // (specificProfile.userSettings or {}); | ||||||
|  |  | ||||||
|  |     # Merge keybindings by concatenating arrays | ||||||
|  |     keybindings = (defaultProfile.keybindings or []) ++ (specificProfile.keybindings or []); | ||||||
|  |  | ||||||
|  |     languageSnippets = | ||||||
|  |       (defaultProfile.languageSnippets or {}) | ||||||
|  |       // (let | ||||||
|  |         snippets = specificProfile.languageSnippets or {}; | ||||||
|  |         mergeSnippets = language: defaultSnippets: | ||||||
|  |           if builtins.hasAttr language snippets | ||||||
|  |           then defaultSnippets // snippets.${language} | ||||||
|  |           else defaultSnippets; | ||||||
|  |       in | ||||||
|  |         builtins.mapAttrs mergeSnippets (defaultProfile.languageSnippets or {})); | ||||||
|  |   }; | ||||||
|  | } | ||||||
							
								
								
									
										62
									
								
								hosts/garand-laptop/home/codium/python-django.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								hosts/garand-laptop/home/codium/python-django.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,62 @@ | |||||||
|  | {pkgs}: let | ||||||
|  |   defaultProfile = import ./default.nix {inherit pkgs;}; | ||||||
|  |   lib = import ./lib.nix {inherit pkgs;}; | ||||||
|  | in { | ||||||
|  |   programs.vscode.profiles.python-django = | ||||||
|  |     lib.mergeProfile | ||||||
|  |     defaultProfile.programs.vscode.profiles.default | ||||||
|  |     { | ||||||
|  |       # Only add Python-specific extensions here | ||||||
|  |       extensions = with pkgs.vscode-extensions; | ||||||
|  |         [ | ||||||
|  |           # Add Python/Django-specific extensions only | ||||||
|  |           # ms-python.python | ||||||
|  |           # ms-python.vscode-pylance | ||||||
|  |         ] | ||||||
|  |         ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ | ||||||
|  |           # Additional Python-specific extensions from marketplace | ||||||
|  |           { | ||||||
|  |             name = "kylin-python"; | ||||||
|  |             publisher = "kylinideteam"; | ||||||
|  |             version = "0.4.2"; | ||||||
|  |             hash = "sha256-LhOsIvECrxLCnRjUVffS4G4fFsdP70iP/twoNoto354="; | ||||||
|  |           } | ||||||
|  |         ]; | ||||||
|  |  | ||||||
|  |       # Only override or add Python-specific settings | ||||||
|  |       userSettings = { | ||||||
|  |         # "python.linting.enabled" = true; | ||||||
|  |         # "python.formatting.provider" = "black"; | ||||||
|  |         # Other Python-specific settings | ||||||
|  |       }; | ||||||
|  |  | ||||||
|  |       # Add Python-specific keybindings (optional) | ||||||
|  |       keybindings = [ | ||||||
|  |         # For example: | ||||||
|  |         # { | ||||||
|  |         #   "key" = "ctrl+shift+p"; | ||||||
|  |         #   "command" = "python.execInTerminal"; | ||||||
|  |         #   "when" = "editorLangId == 'python'"; | ||||||
|  |         # } | ||||||
|  |       ]; | ||||||
|  |  | ||||||
|  |       # Only add Python-specific snippets | ||||||
|  |       languageSnippets = { | ||||||
|  |         "python" = { | ||||||
|  |           "Main" = { | ||||||
|  |             body = [ | ||||||
|  |               "def main() -> None:" | ||||||
|  |               "    ..." | ||||||
|  |               "if __name__ == '__main__':" | ||||||
|  |               "    main()" | ||||||
|  |             ]; | ||||||
|  |             description = "boilerplate dla main"; | ||||||
|  |             prefix = [ | ||||||
|  |               "main" | ||||||
|  |             ]; | ||||||
|  |           }; | ||||||
|  |           # Other Python snippets | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  | } | ||||||
							
								
								
									
										239
									
								
								hosts/garand-laptop/home/codium/rust-bevy.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										239
									
								
								hosts/garand-laptop/home/codium/rust-bevy.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,239 @@ | |||||||
|  | {pkgs, ...}: { | ||||||
|  |   programs.vscode.profiles.rust-bevy = { | ||||||
|  |     extensions = with pkgs.vscode-extensions; | ||||||
|  |       [ | ||||||
|  |         christian-kohler.path-intellisense | ||||||
|  |         continue.continue | ||||||
|  |         davidanson.vscode-markdownlint | ||||||
|  |         donjayamanne.githistory | ||||||
|  |         ethansk.restore-terminals | ||||||
|  |         formulahendry.auto-close-tag | ||||||
|  |         formulahendry.auto-rename-tag | ||||||
|  |         gruntfuggly.todo-tree | ||||||
|  |         jnoortheen.nix-ide | ||||||
|  |         mechatroner.rainbow-csv | ||||||
|  |         ms-azuretools.vscode-docker | ||||||
|  |         oderwat.indent-rainbow | ||||||
|  |         shd101wyy.markdown-preview-enhanced | ||||||
|  |         streetsidesoftware.code-spell-checker | ||||||
|  |         supermaven.supermaven | ||||||
|  |         tomoki1207.pdf | ||||||
|  |         visualstudioexptteam.intellicode-api-usage-examples | ||||||
|  |         visualstudioexptteam.vscodeintellicode | ||||||
|  |         vscode-icons-team.vscode-icons | ||||||
|  |         tamasfe.even-better-toml | ||||||
|  |         ms-ceintl.vscode-language-pack-pl | ||||||
|  |       ] | ||||||
|  |       ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ | ||||||
|  |         { | ||||||
|  |           name = "one-dark-pro-monokai-darker"; | ||||||
|  |           publisher = "eserozvataf"; | ||||||
|  |           version = "1.1.0"; | ||||||
|  |           hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "tab-indent-space-align"; | ||||||
|  |           publisher = "j-zeppenfeld"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "polacode-2019"; | ||||||
|  |           publisher = "jeff-hykin"; | ||||||
|  |           version = "0.6.1"; | ||||||
|  |           hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "csv-to-table"; | ||||||
|  |           publisher = "phplasma"; | ||||||
|  |           version = "1.4.1"; | ||||||
|  |           hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "bash-debug"; | ||||||
|  |           publisher = "rogalmic"; | ||||||
|  |           version = "0.3.9"; | ||||||
|  |           hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "svg-preview"; | ||||||
|  |           publisher = "simonsiefke"; | ||||||
|  |           version = "2.8.3"; | ||||||
|  |           hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "autoimport"; | ||||||
|  |           publisher = "steoates"; | ||||||
|  |           version = "1.5.4"; | ||||||
|  |           hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "code-spell-checker-polish"; | ||||||
|  |           publisher = "streetsidesoftware"; | ||||||
|  |           version = "2.1.3"; | ||||||
|  |           hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "vscode-pets"; | ||||||
|  |           publisher = "tonybaloney"; | ||||||
|  |           version = "1.30.0"; | ||||||
|  |           hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "prettify-json"; | ||||||
|  |           publisher = "mohsen1"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo="; | ||||||
|  |         } | ||||||
|  |       ]; | ||||||
|  |     userSettings = { | ||||||
|  |       # Editor appearance and behavior | ||||||
|  |       "editor.cursorBlinking" = "expand"; | ||||||
|  |       "editor.foldingImportsByDefault" = true; | ||||||
|  |       "editor.fontFamily" = "FiraCode Nerd Font"; | ||||||
|  |       "editor.formatOnPaste" = true; | ||||||
|  |       "editor.formatOnSave" = true; | ||||||
|  |       "editor.guides.bracketPairs" = false; | ||||||
|  |       "editor.guides.indentation" = false; | ||||||
|  |       "editor.inlayHints.enabled" = "off"; | ||||||
|  |       "editor.inlineSuggest.showToolbar" = "always"; | ||||||
|  |       "editor.largeFileOptimizations" = false; | ||||||
|  |       "editor.minimap.enabled" = false; | ||||||
|  |       "editor.quickSuggestions" = { | ||||||
|  |         "strings" = "on"; | ||||||
|  |       }; | ||||||
|  |       "editor.suggestFontSize" = 16; | ||||||
|  |       "editor.suggestLineHeight" = 30; | ||||||
|  |       "editor.tabSize" = 2; | ||||||
|  |       "editor.unicodeHighlight.ambiguousCharacters" = false; | ||||||
|  |       "editor.unicodeHighlight.invisibleCharacters" = false; | ||||||
|  |       "editor.wordWrap" = "off"; | ||||||
|  |       "editor.hover.enabled" = true; | ||||||
|  |       "editor.gotoLocation.multipleDefinitions" = "goto"; | ||||||
|  |       # Workbench settings | ||||||
|  |       "workbench.colorCustomizations" = { | ||||||
|  |         "editor.lineHighlightBackground" = "#1073cf2d"; | ||||||
|  |         "editor.lineHighlightBorder" = "#9fced11f"; | ||||||
|  |       }; | ||||||
|  |       "workbench.colorTheme" = "One Dark Pro Monokai Darker"; | ||||||
|  |       "workbench.iconTheme" = "vscode-icons"; | ||||||
|  |       "workbench.startupEditor" = "none"; | ||||||
|  |       # Terminal settings | ||||||
|  |       "terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono"; | ||||||
|  |       # Git settings | ||||||
|  |       "git.confirmSync" = false; | ||||||
|  |       "git.enableSmartCommit" = true; | ||||||
|  |       # Explorer settings | ||||||
|  |       "explorer.confirmDelete" = false; | ||||||
|  |       "explorer.confirmDragAndDrop" = false; | ||||||
|  |       # Diff editor settings | ||||||
|  |       "diffEditor.ignoreTrimWhitespace" = false; | ||||||
|  |       "diffEditor.wordWrap" = "off"; | ||||||
|  |       # Zen mode settings | ||||||
|  |       "zenMode.centerLayout" = false; | ||||||
|  |       "zenMode.hideActivityBar" = false; | ||||||
|  |       "zenMode.hideLineNumbers" = false; | ||||||
|  |       # File associations | ||||||
|  |       "files.associations" = { | ||||||
|  |         "*.html" = "html"; | ||||||
|  |         "*.txt" = "plaintext"; | ||||||
|  |       }; | ||||||
|  |       # Navigation and intellisense | ||||||
|  |       "path-intellisense.extensionOnImport" = true; | ||||||
|  |       # Markdown settings | ||||||
|  |       "markdown-preview-enhanced.previewTheme" = "one-dark.css"; | ||||||
|  |       # Extension specific settings | ||||||
|  |       "supermaven.allowGitignore" = true; | ||||||
|  |       "supermaven.enable" = { | ||||||
|  |         "*" = true; | ||||||
|  |       }; | ||||||
|  |       "continue.enableTabAutocomplete" = false; | ||||||
|  |       "continue.showInlineTip" = false; | ||||||
|  |       "continue.telemetryEnabled" = false; | ||||||
|  |       "hediet.vscode-drawio.resizeImages" = null; | ||||||
|  |       "todo-tree.highlights.useColourScheme" = true; | ||||||
|  |       "vite.autoStart" = false; | ||||||
|  |       # Syntax highlighting and appearance | ||||||
|  |       "indentRainbow.colorOnWhiteSpaceOnly" = true; | ||||||
|  |       "indentRainbow.indicatorStyle" = "light"; | ||||||
|  |       "indentRainbow.lightIndicatorStyleLineWidth" = 4; | ||||||
|  |       # Spelling and language | ||||||
|  |       "cSpell.language" = "en,pl"; | ||||||
|  |       "cSpell.userWords" = [ | ||||||
|  |         "garand" | ||||||
|  |         "Garand's" | ||||||
|  |         "garandplg" | ||||||
|  |         "garands" | ||||||
|  |         "lockb" | ||||||
|  |         "Shadcn" | ||||||
|  |         "Vite" | ||||||
|  |       ]; | ||||||
|  |       # Security and trust | ||||||
|  |       "security.workspace.trust.untrustedFiles" = "open"; | ||||||
|  |       # Remote development | ||||||
|  |       "remote.autoForwardPortsSource" = "hybrid"; | ||||||
|  |       # Misc | ||||||
|  |       "vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue"; | ||||||
|  |       "githubLocalActions.workflowsDirectory" = ".gitea/workflows"; | ||||||
|  |     }; | ||||||
|  |     languageSnippets = { | ||||||
|  |       "jsonc,json,jsonl" = { | ||||||
|  |         "Restore Terminals" = { | ||||||
|  |           body = [ | ||||||
|  |             " \"restoreTerminals.terminals\": [" | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"server\"," | ||||||
|  |             "          \"commands\": [\"npm i\", \"npm run dev\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"client\"," | ||||||
|  |             "          \"commands\": [\"npm run dev:client\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"test\"," | ||||||
|  |             "          \"commands\": [\"jest --watch\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }," | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"build & e2e\"," | ||||||
|  |             "          \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"]," | ||||||
|  |             "          \"shouldRunCommands\": false" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"worker\"," | ||||||
|  |             "          \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }" | ||||||
|  |             "  ]" | ||||||
|  |           ]; | ||||||
|  |           description = "Boilerplate for restore terminals"; | ||||||
|  |           prefix = [ | ||||||
|  |             "term" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |       "nix" = { | ||||||
|  |         "Nix-Shell-Default" = { | ||||||
|  |           body = [ | ||||||
|  |             "{" | ||||||
|  |             "  pkgs ? import <nixpkgs> {}," | ||||||
|  |             "}:" | ||||||
|  |             "pkgs.mkShell {" | ||||||
|  |             "  packages = with pkgs; [];" | ||||||
|  |             "}" | ||||||
|  |           ]; | ||||||
|  |           description = "Podstawa do shelli nix"; | ||||||
|  |           prefix = [ | ||||||
|  |             "nix-shell" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
							
								
								
									
										239
									
								
								hosts/garand-laptop/home/codium/rust-tauri.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										239
									
								
								hosts/garand-laptop/home/codium/rust-tauri.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,239 @@ | |||||||
|  | {pkgs, ...}: { | ||||||
|  |   programs.vscode.profiles.rust-tauri = { | ||||||
|  |     extensions = with pkgs.vscode-extensions; | ||||||
|  |       [ | ||||||
|  |         christian-kohler.path-intellisense | ||||||
|  |         continue.continue | ||||||
|  |         davidanson.vscode-markdownlint | ||||||
|  |         donjayamanne.githistory | ||||||
|  |         ethansk.restore-terminals | ||||||
|  |         formulahendry.auto-close-tag | ||||||
|  |         formulahendry.auto-rename-tag | ||||||
|  |         gruntfuggly.todo-tree | ||||||
|  |         jnoortheen.nix-ide | ||||||
|  |         mechatroner.rainbow-csv | ||||||
|  |         ms-azuretools.vscode-docker | ||||||
|  |         oderwat.indent-rainbow | ||||||
|  |         shd101wyy.markdown-preview-enhanced | ||||||
|  |         streetsidesoftware.code-spell-checker | ||||||
|  |         supermaven.supermaven | ||||||
|  |         tomoki1207.pdf | ||||||
|  |         visualstudioexptteam.intellicode-api-usage-examples | ||||||
|  |         visualstudioexptteam.vscodeintellicode | ||||||
|  |         vscode-icons-team.vscode-icons | ||||||
|  |         tamasfe.even-better-toml | ||||||
|  |         ms-ceintl.vscode-language-pack-pl | ||||||
|  |       ] | ||||||
|  |       ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ | ||||||
|  |         { | ||||||
|  |           name = "one-dark-pro-monokai-darker"; | ||||||
|  |           publisher = "eserozvataf"; | ||||||
|  |           version = "1.1.0"; | ||||||
|  |           hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "tab-indent-space-align"; | ||||||
|  |           publisher = "j-zeppenfeld"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "polacode-2019"; | ||||||
|  |           publisher = "jeff-hykin"; | ||||||
|  |           version = "0.6.1"; | ||||||
|  |           hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "csv-to-table"; | ||||||
|  |           publisher = "phplasma"; | ||||||
|  |           version = "1.4.1"; | ||||||
|  |           hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "bash-debug"; | ||||||
|  |           publisher = "rogalmic"; | ||||||
|  |           version = "0.3.9"; | ||||||
|  |           hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "svg-preview"; | ||||||
|  |           publisher = "simonsiefke"; | ||||||
|  |           version = "2.8.3"; | ||||||
|  |           hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "autoimport"; | ||||||
|  |           publisher = "steoates"; | ||||||
|  |           version = "1.5.4"; | ||||||
|  |           hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "code-spell-checker-polish"; | ||||||
|  |           publisher = "streetsidesoftware"; | ||||||
|  |           version = "2.1.3"; | ||||||
|  |           hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "vscode-pets"; | ||||||
|  |           publisher = "tonybaloney"; | ||||||
|  |           version = "1.30.0"; | ||||||
|  |           hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "prettify-json"; | ||||||
|  |           publisher = "mohsen1"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo="; | ||||||
|  |         } | ||||||
|  |       ]; | ||||||
|  |     userSettings = { | ||||||
|  |       # Editor appearance and behavior | ||||||
|  |       "editor.cursorBlinking" = "expand"; | ||||||
|  |       "editor.foldingImportsByDefault" = true; | ||||||
|  |       "editor.fontFamily" = "FiraCode Nerd Font"; | ||||||
|  |       "editor.formatOnPaste" = true; | ||||||
|  |       "editor.formatOnSave" = true; | ||||||
|  |       "editor.guides.bracketPairs" = false; | ||||||
|  |       "editor.guides.indentation" = false; | ||||||
|  |       "editor.inlayHints.enabled" = "off"; | ||||||
|  |       "editor.inlineSuggest.showToolbar" = "always"; | ||||||
|  |       "editor.largeFileOptimizations" = false; | ||||||
|  |       "editor.minimap.enabled" = false; | ||||||
|  |       "editor.quickSuggestions" = { | ||||||
|  |         "strings" = "on"; | ||||||
|  |       }; | ||||||
|  |       "editor.suggestFontSize" = 16; | ||||||
|  |       "editor.suggestLineHeight" = 30; | ||||||
|  |       "editor.tabSize" = 2; | ||||||
|  |       "editor.unicodeHighlight.ambiguousCharacters" = false; | ||||||
|  |       "editor.unicodeHighlight.invisibleCharacters" = false; | ||||||
|  |       "editor.wordWrap" = "off"; | ||||||
|  |       "editor.hover.enabled" = true; | ||||||
|  |       "editor.gotoLocation.multipleDefinitions" = "goto"; | ||||||
|  |       # Workbench settings | ||||||
|  |       "workbench.colorCustomizations" = { | ||||||
|  |         "editor.lineHighlightBackground" = "#1073cf2d"; | ||||||
|  |         "editor.lineHighlightBorder" = "#9fced11f"; | ||||||
|  |       }; | ||||||
|  |       "workbench.colorTheme" = "One Dark Pro Monokai Darker"; | ||||||
|  |       "workbench.iconTheme" = "vscode-icons"; | ||||||
|  |       "workbench.startupEditor" = "none"; | ||||||
|  |       # Terminal settings | ||||||
|  |       "terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono"; | ||||||
|  |       # Git settings | ||||||
|  |       "git.confirmSync" = false; | ||||||
|  |       "git.enableSmartCommit" = true; | ||||||
|  |       # Explorer settings | ||||||
|  |       "explorer.confirmDelete" = false; | ||||||
|  |       "explorer.confirmDragAndDrop" = false; | ||||||
|  |       # Diff editor settings | ||||||
|  |       "diffEditor.ignoreTrimWhitespace" = false; | ||||||
|  |       "diffEditor.wordWrap" = "off"; | ||||||
|  |       # Zen mode settings | ||||||
|  |       "zenMode.centerLayout" = false; | ||||||
|  |       "zenMode.hideActivityBar" = false; | ||||||
|  |       "zenMode.hideLineNumbers" = false; | ||||||
|  |       # File associations | ||||||
|  |       "files.associations" = { | ||||||
|  |         "*.html" = "html"; | ||||||
|  |         "*.txt" = "plaintext"; | ||||||
|  |       }; | ||||||
|  |       # Navigation and intellisense | ||||||
|  |       "path-intellisense.extensionOnImport" = true; | ||||||
|  |       # Markdown settings | ||||||
|  |       "markdown-preview-enhanced.previewTheme" = "one-dark.css"; | ||||||
|  |       # Extension specific settings | ||||||
|  |       "supermaven.allowGitignore" = true; | ||||||
|  |       "supermaven.enable" = { | ||||||
|  |         "*" = true; | ||||||
|  |       }; | ||||||
|  |       "continue.enableTabAutocomplete" = false; | ||||||
|  |       "continue.showInlineTip" = false; | ||||||
|  |       "continue.telemetryEnabled" = false; | ||||||
|  |       "hediet.vscode-drawio.resizeImages" = null; | ||||||
|  |       "todo-tree.highlights.useColourScheme" = true; | ||||||
|  |       "vite.autoStart" = false; | ||||||
|  |       # Syntax highlighting and appearance | ||||||
|  |       "indentRainbow.colorOnWhiteSpaceOnly" = true; | ||||||
|  |       "indentRainbow.indicatorStyle" = "light"; | ||||||
|  |       "indentRainbow.lightIndicatorStyleLineWidth" = 4; | ||||||
|  |       # Spelling and language | ||||||
|  |       "cSpell.language" = "en,pl"; | ||||||
|  |       "cSpell.userWords" = [ | ||||||
|  |         "garand" | ||||||
|  |         "Garand's" | ||||||
|  |         "garandplg" | ||||||
|  |         "garands" | ||||||
|  |         "lockb" | ||||||
|  |         "Shadcn" | ||||||
|  |         "Vite" | ||||||
|  |       ]; | ||||||
|  |       # Security and trust | ||||||
|  |       "security.workspace.trust.untrustedFiles" = "open"; | ||||||
|  |       # Remote development | ||||||
|  |       "remote.autoForwardPortsSource" = "hybrid"; | ||||||
|  |       # Misc | ||||||
|  |       "vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue"; | ||||||
|  |       "githubLocalActions.workflowsDirectory" = ".gitea/workflows"; | ||||||
|  |     }; | ||||||
|  |     languageSnippets = { | ||||||
|  |       "jsonc,json,jsonl" = { | ||||||
|  |         "Restore Terminals" = { | ||||||
|  |           body = [ | ||||||
|  |             " \"restoreTerminals.terminals\": [" | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"server\"," | ||||||
|  |             "          \"commands\": [\"npm i\", \"npm run dev\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"client\"," | ||||||
|  |             "          \"commands\": [\"npm run dev:client\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"test\"," | ||||||
|  |             "          \"commands\": [\"jest --watch\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }," | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"build & e2e\"," | ||||||
|  |             "          \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"]," | ||||||
|  |             "          \"shouldRunCommands\": false" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"worker\"," | ||||||
|  |             "          \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }" | ||||||
|  |             "  ]" | ||||||
|  |           ]; | ||||||
|  |           description = "Boilerplate for restore terminals"; | ||||||
|  |           prefix = [ | ||||||
|  |             "term" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |       "nix" = { | ||||||
|  |         "Nix-Shell-Default" = { | ||||||
|  |           body = [ | ||||||
|  |             "{" | ||||||
|  |             "  pkgs ? import <nixpkgs> {}," | ||||||
|  |             "}:" | ||||||
|  |             "pkgs.mkShell {" | ||||||
|  |             "  packages = with pkgs; [];" | ||||||
|  |             "}" | ||||||
|  |           ]; | ||||||
|  |           description = "Podstawa do shelli nix"; | ||||||
|  |           prefix = [ | ||||||
|  |             "nix-shell" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
							
								
								
									
										239
									
								
								hosts/garand-laptop/home/codium/webdev-vue.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										239
									
								
								hosts/garand-laptop/home/codium/webdev-vue.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,239 @@ | |||||||
|  | {pkgs, ...}: { | ||||||
|  |   programs.vscode.profiles.webdev-vue = { | ||||||
|  |     extensions = with pkgs.vscode-extensions; | ||||||
|  |       [ | ||||||
|  |         christian-kohler.path-intellisense | ||||||
|  |         continue.continue | ||||||
|  |         davidanson.vscode-markdownlint | ||||||
|  |         donjayamanne.githistory | ||||||
|  |         ethansk.restore-terminals | ||||||
|  |         formulahendry.auto-close-tag | ||||||
|  |         formulahendry.auto-rename-tag | ||||||
|  |         gruntfuggly.todo-tree | ||||||
|  |         jnoortheen.nix-ide | ||||||
|  |         mechatroner.rainbow-csv | ||||||
|  |         ms-azuretools.vscode-docker | ||||||
|  |         oderwat.indent-rainbow | ||||||
|  |         shd101wyy.markdown-preview-enhanced | ||||||
|  |         streetsidesoftware.code-spell-checker | ||||||
|  |         supermaven.supermaven | ||||||
|  |         tomoki1207.pdf | ||||||
|  |         visualstudioexptteam.intellicode-api-usage-examples | ||||||
|  |         visualstudioexptteam.vscodeintellicode | ||||||
|  |         vscode-icons-team.vscode-icons | ||||||
|  |         tamasfe.even-better-toml | ||||||
|  |         ms-ceintl.vscode-language-pack-pl | ||||||
|  |       ] | ||||||
|  |       ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ | ||||||
|  |         { | ||||||
|  |           name = "one-dark-pro-monokai-darker"; | ||||||
|  |           publisher = "eserozvataf"; | ||||||
|  |           version = "1.1.0"; | ||||||
|  |           hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "tab-indent-space-align"; | ||||||
|  |           publisher = "j-zeppenfeld"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "polacode-2019"; | ||||||
|  |           publisher = "jeff-hykin"; | ||||||
|  |           version = "0.6.1"; | ||||||
|  |           hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "csv-to-table"; | ||||||
|  |           publisher = "phplasma"; | ||||||
|  |           version = "1.4.1"; | ||||||
|  |           hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "bash-debug"; | ||||||
|  |           publisher = "rogalmic"; | ||||||
|  |           version = "0.3.9"; | ||||||
|  |           hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "svg-preview"; | ||||||
|  |           publisher = "simonsiefke"; | ||||||
|  |           version = "2.8.3"; | ||||||
|  |           hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "autoimport"; | ||||||
|  |           publisher = "steoates"; | ||||||
|  |           version = "1.5.4"; | ||||||
|  |           hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "code-spell-checker-polish"; | ||||||
|  |           publisher = "streetsidesoftware"; | ||||||
|  |           version = "2.1.3"; | ||||||
|  |           hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "vscode-pets"; | ||||||
|  |           publisher = "tonybaloney"; | ||||||
|  |           version = "1.30.0"; | ||||||
|  |           hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM="; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           name = "prettify-json"; | ||||||
|  |           publisher = "mohsen1"; | ||||||
|  |           version = "0.0.3"; | ||||||
|  |           hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo="; | ||||||
|  |         } | ||||||
|  |       ]; | ||||||
|  |     userSettings = { | ||||||
|  |       # Editor appearance and behavior | ||||||
|  |       "editor.cursorBlinking" = "expand"; | ||||||
|  |       "editor.foldingImportsByDefault" = true; | ||||||
|  |       "editor.fontFamily" = "FiraCode Nerd Font"; | ||||||
|  |       "editor.formatOnPaste" = true; | ||||||
|  |       "editor.formatOnSave" = true; | ||||||
|  |       "editor.guides.bracketPairs" = false; | ||||||
|  |       "editor.guides.indentation" = false; | ||||||
|  |       "editor.inlayHints.enabled" = "off"; | ||||||
|  |       "editor.inlineSuggest.showToolbar" = "always"; | ||||||
|  |       "editor.largeFileOptimizations" = false; | ||||||
|  |       "editor.minimap.enabled" = false; | ||||||
|  |       "editor.quickSuggestions" = { | ||||||
|  |         "strings" = "on"; | ||||||
|  |       }; | ||||||
|  |       "editor.suggestFontSize" = 16; | ||||||
|  |       "editor.suggestLineHeight" = 30; | ||||||
|  |       "editor.tabSize" = 2; | ||||||
|  |       "editor.unicodeHighlight.ambiguousCharacters" = false; | ||||||
|  |       "editor.unicodeHighlight.invisibleCharacters" = false; | ||||||
|  |       "editor.wordWrap" = "off"; | ||||||
|  |       "editor.hover.enabled" = true; | ||||||
|  |       "editor.gotoLocation.multipleDefinitions" = "goto"; | ||||||
|  |       # Workbench settings | ||||||
|  |       "workbench.colorCustomizations" = { | ||||||
|  |         "editor.lineHighlightBackground" = "#1073cf2d"; | ||||||
|  |         "editor.lineHighlightBorder" = "#9fced11f"; | ||||||
|  |       }; | ||||||
|  |       "workbench.colorTheme" = "One Dark Pro Monokai Darker"; | ||||||
|  |       "workbench.iconTheme" = "vscode-icons"; | ||||||
|  |       "workbench.startupEditor" = "none"; | ||||||
|  |       # Terminal settings | ||||||
|  |       "terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono"; | ||||||
|  |       # Git settings | ||||||
|  |       "git.confirmSync" = false; | ||||||
|  |       "git.enableSmartCommit" = true; | ||||||
|  |       # Explorer settings | ||||||
|  |       "explorer.confirmDelete" = false; | ||||||
|  |       "explorer.confirmDragAndDrop" = false; | ||||||
|  |       # Diff editor settings | ||||||
|  |       "diffEditor.ignoreTrimWhitespace" = false; | ||||||
|  |       "diffEditor.wordWrap" = "off"; | ||||||
|  |       # Zen mode settings | ||||||
|  |       "zenMode.centerLayout" = false; | ||||||
|  |       "zenMode.hideActivityBar" = false; | ||||||
|  |       "zenMode.hideLineNumbers" = false; | ||||||
|  |       # File associations | ||||||
|  |       "files.associations" = { | ||||||
|  |         "*.html" = "html"; | ||||||
|  |         "*.txt" = "plaintext"; | ||||||
|  |       }; | ||||||
|  |       # Navigation and intellisense | ||||||
|  |       "path-intellisense.extensionOnImport" = true; | ||||||
|  |       # Markdown settings | ||||||
|  |       "markdown-preview-enhanced.previewTheme" = "one-dark.css"; | ||||||
|  |       # Extension specific settings | ||||||
|  |       "supermaven.allowGitignore" = true; | ||||||
|  |       "supermaven.enable" = { | ||||||
|  |         "*" = true; | ||||||
|  |       }; | ||||||
|  |       "continue.enableTabAutocomplete" = false; | ||||||
|  |       "continue.showInlineTip" = false; | ||||||
|  |       "continue.telemetryEnabled" = false; | ||||||
|  |       "hediet.vscode-drawio.resizeImages" = null; | ||||||
|  |       "todo-tree.highlights.useColourScheme" = true; | ||||||
|  |       "vite.autoStart" = false; | ||||||
|  |       # Syntax highlighting and appearance | ||||||
|  |       "indentRainbow.colorOnWhiteSpaceOnly" = true; | ||||||
|  |       "indentRainbow.indicatorStyle" = "light"; | ||||||
|  |       "indentRainbow.lightIndicatorStyleLineWidth" = 4; | ||||||
|  |       # Spelling and language | ||||||
|  |       "cSpell.language" = "en,pl"; | ||||||
|  |       "cSpell.userWords" = [ | ||||||
|  |         "garand" | ||||||
|  |         "Garand's" | ||||||
|  |         "garandplg" | ||||||
|  |         "garands" | ||||||
|  |         "lockb" | ||||||
|  |         "Shadcn" | ||||||
|  |         "Vite" | ||||||
|  |       ]; | ||||||
|  |       # Security and trust | ||||||
|  |       "security.workspace.trust.untrustedFiles" = "open"; | ||||||
|  |       # Remote development | ||||||
|  |       "remote.autoForwardPortsSource" = "hybrid"; | ||||||
|  |       # Misc | ||||||
|  |       "vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue"; | ||||||
|  |       "githubLocalActions.workflowsDirectory" = ".gitea/workflows"; | ||||||
|  |     }; | ||||||
|  |     languageSnippets = { | ||||||
|  |       "jsonc,json,jsonl" = { | ||||||
|  |         "Restore Terminals" = { | ||||||
|  |           body = [ | ||||||
|  |             " \"restoreTerminals.terminals\": [" | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"server\"," | ||||||
|  |             "          \"commands\": [\"npm i\", \"npm run dev\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"client\"," | ||||||
|  |             "          \"commands\": [\"npm run dev:client\"]" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"test\"," | ||||||
|  |             "          \"commands\": [\"jest --watch\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }," | ||||||
|  |             "    {" | ||||||
|  |             "      \"splitTerminals\": [" | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"build & e2e\"," | ||||||
|  |             "          \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"]," | ||||||
|  |             "          \"shouldRunCommands\": false" | ||||||
|  |             "        }," | ||||||
|  |             "        {" | ||||||
|  |             "          \"name\": \"worker\"," | ||||||
|  |             "          \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]" | ||||||
|  |             "        }" | ||||||
|  |             "      ]" | ||||||
|  |             "    }" | ||||||
|  |             "  ]" | ||||||
|  |           ]; | ||||||
|  |           description = "Boilerplate for restore terminals"; | ||||||
|  |           prefix = [ | ||||||
|  |             "term" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |       "nix" = { | ||||||
|  |         "Nix-Shell-Default" = { | ||||||
|  |           body = [ | ||||||
|  |             "{" | ||||||
|  |             "  pkgs ? import <nixpkgs> {}," | ||||||
|  |             "}:" | ||||||
|  |             "pkgs.mkShell {" | ||||||
|  |             "  packages = with pkgs; [];" | ||||||
|  |             "}" | ||||||
|  |           ]; | ||||||
|  |           description = "Podstawa do shelli nix"; | ||||||
|  |           prefix = [ | ||||||
|  |             "nix-shell" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
| @@ -7,6 +7,7 @@ | |||||||
|   dexApps = import ../../../scripts/dex-apps.nix {inherit pkgs;}; |   dexApps = import ../../../scripts/dex-apps.nix {inherit pkgs;}; | ||||||
| in { | in { | ||||||
|   # Home Manager Settings |   # Home Manager Settings | ||||||
|  |   nixpkgs.config.allowUnfree = true; | ||||||
|   home = { |   home = { | ||||||
|     username = "${username}"; |     username = "${username}"; | ||||||
|     homeDirectory = "/home/${username}"; |     homeDirectory = "/home/${username}"; | ||||||
|   | |||||||
| @@ -1,10 +1,31 @@ | |||||||
| {...}: { | {pkgs, ...}: { | ||||||
|   # Create XDG Dirs |   # Create XDG Dirs | ||||||
|   xdg = { |   xdg = { | ||||||
|  |     enable = true; | ||||||
|     userDirs = { |     userDirs = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       createDirectories = true; |       createDirectories = true; | ||||||
|     }; |     }; | ||||||
|  |     portal = { | ||||||
|  |       enable = true; | ||||||
|  |       xdgOpenUsePortal = true; | ||||||
|  |       extraPortals = [ | ||||||
|  |         pkgs.xdg-desktop-portal-gtk | ||||||
|  |         pkgs.xdg-desktop-portal-hyprland | ||||||
|  |       ]; | ||||||
|  |       config = { | ||||||
|  |         common = { | ||||||
|  |           default = [ | ||||||
|  |             "gtk" | ||||||
|  |             "hyprland" | ||||||
|  |           ]; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |       configPackages = [ | ||||||
|  |         pkgs.xdg-desktop-portal-gtk | ||||||
|  |         pkgs.xdg-desktop-portal-hyprland | ||||||
|  |       ]; | ||||||
|  |     }; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   dconf.settings = { |   dconf.settings = { | ||||||
|   | |||||||
| @@ -59,6 +59,7 @@ | |||||||
|               "garand's-search" = { |               "garand's-search" = { | ||||||
|                 definedAliases = ["@g"]; |                 definedAliases = ["@g"]; | ||||||
|                 urls = [{template = "https://search.garandplg.com/search?q={searchTerms}";}]; |                 urls = [{template = "https://search.garandplg.com/search?q={searchTerms}";}]; | ||||||
|  |                 suggestUrl = "https://search.garandplg.com/autocompleter?q={searchTerms}"; | ||||||
|               }; |               }; | ||||||
|               "youtube" = { |               "youtube" = { | ||||||
|                 definedAliases = ["@yt"]; |                 definedAliases = ["@yt"]; | ||||||
|   | |||||||
| @@ -60,7 +60,6 @@ in { | |||||||
|         if [ -f $HOME/.bashrc-personal ]; then |         if [ -f $HOME/.bashrc-personal ]; then | ||||||
|           source $HOME/.bashrc-personal |           source $HOME/.bashrc-personal | ||||||
|         fi |         fi | ||||||
|         fc |  | ||||||
|       ''; |       ''; | ||||||
|       shellAliases = { |       shellAliases = { | ||||||
|         os-sw = "sudo nixos-rebuild switch --flake ~/zaneyos"; |         os-sw = "sudo nixos-rebuild switch --flake ~/zaneyos"; | ||||||
| @@ -86,10 +85,11 @@ in { | |||||||
|         ll = "eza -lh --icons --grid --group-directories-first"; |         ll = "eza -lh --icons --grid --group-directories-first"; | ||||||
|         la = "eza -lah --icons --grid --group-directories-first"; |         la = "eza -lah --icons --grid --group-directories-first"; | ||||||
|         ssh-server = "ssh garand_plg@192.168.1.156 -p 556 -i ~/.ssh/hp-t640-homeserver"; |         ssh-server = "ssh garand_plg@192.168.1.156 -p 556 -i ~/.ssh/hp-t640-homeserver"; | ||||||
|  |         scp-to-server = "function scp-to-server() { scp -i ~/.ssh/hp-t640-homeserver -P 556 $1 garand_plg@192.168.1.156:$2; }; scp-to-server"; | ||||||
|         fc = "fortune | cowsay"; |         fc = "fortune | cowsay"; | ||||||
|         terminal = "cat /home/garand_plg/Documents/terminal.txt"; |         terminal = "cat /home/garand_plg/Documents/terminal.txt"; | ||||||
|         e-terminal = "nano /home/garand_plg/Documents/terminal.txt"; |         e-terminal = "nano /home/garand_plg/Documents/terminal.txt"; | ||||||
|         mkgidf = "git diff > git-diff.txt"; |         mkgidf = "git add --intent-to-add . && git diff > git-diff.txt"; | ||||||
|         ".." = "cd .."; |         ".." = "cd .."; | ||||||
|         kys = "shutdown now"; |         kys = "shutdown now"; | ||||||
|         pasjans = "ttysolitaire -p 10 --no-background-color"; |         pasjans = "ttysolitaire -p 10 --no-background-color"; | ||||||
|   | |||||||
| @@ -1,16 +1,12 @@ | |||||||
| { | { | ||||||
|   # Git Configuration ( For Pulling Software Repos ) |  | ||||||
|   gitUsername = "GarandPLG"; |   gitUsername = "GarandPLG"; | ||||||
|   gitEmail = "garandplg@garandplg.com"; |   gitEmail = "garandplg@garandplg.com"; | ||||||
|  |  | ||||||
|   # Hyprland Settings |  | ||||||
|   extraMonitorSettings = ""; |   extraMonitorSettings = ""; | ||||||
|  |  | ||||||
|   # Waybar Settings |  | ||||||
|   clock24h = true; |   clock24h = true; | ||||||
|  |  | ||||||
|   # Program Options |   browser = "librewolf"; | ||||||
|   browser = "librewolf"; # Set Default Browser (google-chrome-stable for google-chrome) |   terminal = "warp-terminal"; | ||||||
|   terminal = "kitty"; # Set Default System Terminal |  | ||||||
|   keyboardLayout = "pl"; |   keyboardLayout = "pl"; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -69,7 +69,8 @@ in | |||||||
|     " + I" "Uruchom Instagram" "dex-instagram" \ |     " + I" "Uruchom Instagram" "dex-instagram" \ | ||||||
|     " + R" "Uruchom Portainer" "dex-portainer" \ |     " + R" "Uruchom Portainer" "dex-portainer" \ | ||||||
|     " + U" "Uruchom Mastodon" "dex-mastodon" \ |     " + U" "Uruchom Mastodon" "dex-mastodon" \ | ||||||
|     " + Y" "Uruchom Daily.dev" "dex-dailydev" \ |     " + Y" "Uruchom FreeTube" "freetube" \ | ||||||
|  |     " + SHIFT + Y" "Uruchom Daily.dev" "dex-dailydev" \ | ||||||
|     " + V" "Uruchom Visual Studio Codium" "codium" \ |     " + V" "Uruchom Visual Studio Codium" "codium" \ | ||||||
|     " + O" "Uruchom ONLYOFFICE" "onlyoffice-desktopeditors" \ |     " + O" "Uruchom ONLYOFFICE" "onlyoffice-desktopeditors" \ | ||||||
|     " + SHIFT + O" "Uruchom OBS" "obs" \ |     " + SHIFT + O" "Uruchom OBS" "obs" \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user