My entire NixOS config or something!

Added gcc to system

+27 -299
+2 -1
configuration.nix
··· 86 86 vim 87 87 wget 88 88 firefox 89 - python314 89 + python313 90 90 neovim 91 91 cargo 92 92 gh 93 93 wl-clipboard 94 94 ripgrep 95 95 git-filter-repo 96 + python313Packages.numpy 96 97 ]; 97 98 98 99 # Some programs need SUID wrappers, can be configured further or are
+3 -293
flake.lock
··· 1 1 { 2 2 "nodes": { 3 - "crane": { 4 - "flake": false, 5 - "locked": { 6 - "lastModified": 1727316705, 7 - "narHash": "sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE=", 8 - "owner": "ipetkov", 9 - "repo": "crane", 10 - "rev": "5b03654ce046b5167e7b0bccbd8244cb56c16f0e", 11 - "type": "github" 12 - }, 13 - "original": { 14 - "owner": "ipetkov", 15 - "ref": "v0.19.0", 16 - "repo": "crane", 17 - "type": "github" 18 - } 19 - }, 20 - "dream2nix": { 21 - "inputs": { 22 - "nixpkgs": [ 23 - "nix-inspect", 24 - "nci", 25 - "nixpkgs" 26 - ], 27 - "purescript-overlay": "purescript-overlay", 28 - "pyproject-nix": "pyproject-nix" 29 - }, 30 - "locked": { 31 - "lastModified": 1732214960, 32 - "narHash": "sha256-ViyEMSYwaza6y55XTDrsRi2K4YKCLsefMTorjWSE27s=", 33 - "owner": "nix-community", 34 - "repo": "dream2nix", 35 - "rev": "a8dac99db44307fdecead13a39c584b97812d0d4", 36 - "type": "github" 37 - }, 38 - "original": { 39 - "owner": "nix-community", 40 - "repo": "dream2nix", 41 - "type": "github" 42 - } 43 - }, 44 - "flake-compat": { 45 - "flake": false, 46 - "locked": { 47 - "lastModified": 1696426674, 48 - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 49 - "owner": "edolstra", 50 - "repo": "flake-compat", 51 - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 52 - "type": "github" 53 - }, 54 - "original": { 55 - "owner": "edolstra", 56 - "repo": "flake-compat", 57 - "type": "github" 58 - } 59 - }, 60 3 "flake-parts": { 61 4 "inputs": { 62 5 "nixpkgs-lib": [ ··· 98 41 "type": "github" 99 42 } 100 43 }, 101 - "mk-naked-shell": { 102 - "flake": false, 103 - "locked": { 104 - "lastModified": 1681286841, 105 - "narHash": "sha256-3XlJrwlR0nBiREnuogoa5i1b4+w/XPe0z8bbrJASw0g=", 106 - "owner": "yusdacra", 107 - "repo": "mk-naked-shell", 108 - "rev": "7612f828dd6f22b7fb332cc69440e839d7ffe6bd", 109 - "type": "github" 110 - }, 111 - "original": { 112 - "owner": "yusdacra", 113 - "repo": "mk-naked-shell", 114 - "type": "github" 115 - } 116 - }, 117 - "nci": { 118 - "inputs": { 119 - "crane": "crane", 120 - "dream2nix": "dream2nix", 121 - "mk-naked-shell": "mk-naked-shell", 122 - "nixpkgs": [ 123 - "nix-inspect", 124 - "nixpkgs" 125 - ], 126 - "parts": "parts", 127 - "rust-overlay": "rust-overlay", 128 - "treefmt": "treefmt" 129 - }, 130 - "locked": { 131 - "lastModified": 1732342495, 132 - "narHash": "sha256-7qfvmnJQByEtl5bS+rTydLCe3Saz9kMRaJxPCdqb1wQ=", 133 - "owner": "yusdacra", 134 - "repo": "nix-cargo-integration", 135 - "rev": "ae9de2d06519a3bb26b649e1c0d1cfa22c20dc0e", 136 - "type": "github" 137 - }, 138 - "original": { 139 - "owner": "yusdacra", 140 - "repo": "nix-cargo-integration", 141 - "type": "github" 142 - } 143 - }, 144 - "nix-inspect": { 145 - "inputs": { 146 - "nci": "nci", 147 - "nixpkgs": "nixpkgs", 148 - "parts": "parts_2" 149 - }, 150 - "locked": { 151 - "lastModified": 1733357226, 152 - "narHash": "sha256-ArwdTtlIje7yOTblkZs4aQ1+HBtEwJKkfKOiA9tY8nA=", 153 - "owner": "bluskript", 154 - "repo": "nix-inspect", 155 - "rev": "2938c8e94acca6a7f1569f478cac6ddc4877558e", 156 - "type": "github" 157 - }, 158 - "original": { 159 - "owner": "bluskript", 160 - "repo": "nix-inspect", 161 - "type": "github" 162 - } 163 - }, 164 44 "nixpkgs": { 165 45 "locked": { 166 - "lastModified": 1732014248, 167 - "narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", 168 - "owner": "nixos", 169 - "repo": "nixpkgs", 170 - "rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", 171 - "type": "github" 172 - }, 173 - "original": { 174 - "owner": "nixos", 175 - "ref": "nixos-unstable", 176 - "repo": "nixpkgs", 177 - "type": "github" 178 - } 179 - }, 180 - "nixpkgs_2": { 181 - "locked": { 182 46 "lastModified": 1764667669, 183 47 "narHash": "sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y=", 184 48 "owner": "nixos", ··· 193 57 "type": "github" 194 58 } 195 59 }, 196 - "nixpkgs_3": { 60 + "nixpkgs_2": { 197 61 "locked": { 198 62 "lastModified": 1764856222, 199 63 "narHash": "sha256-yEJmtoFu4cJre1NuU4fb8q57Oux+NTbocnALtJ64aEI=", ··· 212 76 "nixvim": { 213 77 "inputs": { 214 78 "flake-parts": "flake-parts", 215 - "nixpkgs": "nixpkgs_3", 79 + "nixpkgs": "nixpkgs_2", 216 80 "systems": "systems" 217 81 }, 218 82 "locked": { ··· 229 93 "type": "github" 230 94 } 231 95 }, 232 - "parts": { 233 - "inputs": { 234 - "nixpkgs-lib": [ 235 - "nix-inspect", 236 - "nci", 237 - "nixpkgs" 238 - ] 239 - }, 240 - "locked": { 241 - "lastModified": 1730504689, 242 - "narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=", 243 - "owner": "hercules-ci", 244 - "repo": "flake-parts", 245 - "rev": "506278e768c2a08bec68eb62932193e341f55c90", 246 - "type": "github" 247 - }, 248 - "original": { 249 - "owner": "hercules-ci", 250 - "repo": "flake-parts", 251 - "type": "github" 252 - } 253 - }, 254 - "parts_2": { 255 - "inputs": { 256 - "nixpkgs-lib": [ 257 - "nix-inspect", 258 - "nixpkgs" 259 - ] 260 - }, 261 - "locked": { 262 - "lastModified": 1730504689, 263 - "narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=", 264 - "owner": "hercules-ci", 265 - "repo": "flake-parts", 266 - "rev": "506278e768c2a08bec68eb62932193e341f55c90", 267 - "type": "github" 268 - }, 269 - "original": { 270 - "owner": "hercules-ci", 271 - "repo": "flake-parts", 272 - "type": "github" 273 - } 274 - }, 275 - "purescript-overlay": { 276 - "inputs": { 277 - "flake-compat": "flake-compat", 278 - "nixpkgs": [ 279 - "nix-inspect", 280 - "nci", 281 - "dream2nix", 282 - "nixpkgs" 283 - ], 284 - "slimlock": "slimlock" 285 - }, 286 - "locked": { 287 - "lastModified": 1728546539, 288 - "narHash": "sha256-Sws7w0tlnjD+Bjck1nv29NjC5DbL6nH5auL9Ex9Iz2A=", 289 - "owner": "thomashoneyman", 290 - "repo": "purescript-overlay", 291 - "rev": "4ad4c15d07bd899d7346b331f377606631eb0ee4", 292 - "type": "github" 293 - }, 294 - "original": { 295 - "owner": "thomashoneyman", 296 - "repo": "purescript-overlay", 297 - "type": "github" 298 - } 299 - }, 300 - "pyproject-nix": { 301 - "flake": false, 302 - "locked": { 303 - "lastModified": 1702448246, 304 - "narHash": "sha256-hFg5s/hoJFv7tDpiGvEvXP0UfFvFEDgTdyHIjDVHu1I=", 305 - "owner": "davhau", 306 - "repo": "pyproject.nix", 307 - "rev": "5a06a2697b228c04dd2f35659b4b659ca74f7aeb", 308 - "type": "github" 309 - }, 310 - "original": { 311 - "owner": "davhau", 312 - "ref": "dream2nix", 313 - "repo": "pyproject.nix", 314 - "type": "github" 315 - } 316 - }, 317 96 "root": { 318 97 "inputs": { 319 98 "home-manager": "home-manager", 320 - "nix-inspect": "nix-inspect", 321 - "nixpkgs": "nixpkgs_2", 99 + "nixpkgs": "nixpkgs", 322 100 "nixvim": "nixvim" 323 101 } 324 102 }, 325 - "rust-overlay": { 326 - "inputs": { 327 - "nixpkgs": [ 328 - "nix-inspect", 329 - "nci", 330 - "nixpkgs" 331 - ] 332 - }, 333 - "locked": { 334 - "lastModified": 1732328983, 335 - "narHash": "sha256-RHt12f/slrzDpSL7SSkydh8wUE4Nr4r23HlpWywed9E=", 336 - "owner": "oxalica", 337 - "repo": "rust-overlay", 338 - "rev": "ed8aa5b64f7d36d9338eb1d0a3bb60cf52069a72", 339 - "type": "github" 340 - }, 341 - "original": { 342 - "owner": "oxalica", 343 - "repo": "rust-overlay", 344 - "type": "github" 345 - } 346 - }, 347 - "slimlock": { 348 - "inputs": { 349 - "nixpkgs": [ 350 - "nix-inspect", 351 - "nci", 352 - "dream2nix", 353 - "purescript-overlay", 354 - "nixpkgs" 355 - ] 356 - }, 357 - "locked": { 358 - "lastModified": 1688756706, 359 - "narHash": "sha256-xzkkMv3neJJJ89zo3o2ojp7nFeaZc2G0fYwNXNJRFlo=", 360 - "owner": "thomashoneyman", 361 - "repo": "slimlock", 362 - "rev": "cf72723f59e2340d24881fd7bf61cb113b4c407c", 363 - "type": "github" 364 - }, 365 - "original": { 366 - "owner": "thomashoneyman", 367 - "repo": "slimlock", 368 - "type": "github" 369 - } 370 - }, 371 103 "systems": { 372 104 "locked": { 373 105 "lastModified": 1681028828, ··· 380 112 "original": { 381 113 "owner": "nix-systems", 382 114 "repo": "default", 383 - "type": "github" 384 - } 385 - }, 386 - "treefmt": { 387 - "inputs": { 388 - "nixpkgs": [ 389 - "nix-inspect", 390 - "nci", 391 - "nixpkgs" 392 - ] 393 - }, 394 - "locked": { 395 - "lastModified": 1732292307, 396 - "narHash": "sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw=", 397 - "owner": "numtide", 398 - "repo": "treefmt-nix", 399 - "rev": "705df92694af7093dfbb27109ce16d828a79155f", 400 - "type": "github" 401 - }, 402 - "original": { 403 - "owner": "numtide", 404 - "repo": "treefmt-nix", 405 115 "type": "github" 406 116 } 407 117 }
+1 -3
flake.nix
··· 8 8 url = "github:nix-community/home-manager"; 9 9 inputs.nixpkgs.follows = "nixpkgs"; 10 10 }; 11 - nix-inspect.url = "github:bluskript/nix-inspect"; 12 11 }; 13 12 14 - outputs = { self, nixpkgs, nixvim, home-manager, nix-inspect, ... }@inputs: { 13 + outputs = { self, nixpkgs, nixvim, home-manager, ... }@inputs: { 15 14 nixosConfigurations.delphi = nixpkgs.lib.nixosSystem { 16 - specialArgs = { inherit inputs; }; 17 15 modules = [ 18 16 ./configuration.nix 19 17 home-manager.nixosModules.home-manager
+21 -2
home.nix
··· 1 - {inputs, ...}: { 1 + {inputs, pkgs, ...}: { 2 2 imports = [ 3 3 inputs.nixvim.homeModules.nixvim 4 4 ]; 5 + 5 6 home.stateVersion = "26.05"; 7 + programs.yazi = { 8 + enable = true; 9 + enableBashIntegration = true; 10 + }; 11 + programs.bash.enable = true; 6 12 programs.nixvim = { 7 13 enable = true; 8 14 colorschemes.catppuccin.enable = true; ··· 13 19 highlight.enable = true; 14 20 }; 15 21 }; 22 + 23 + lsp = { 24 + servers.ruff.enable = true; 25 + }; 26 + plugins.lspsaga.enable = true; 27 + plugins.web-devicons.enable = true; 28 + plugins.dropbar.enable = true; 29 + plugins.guess-indent.enable = true; 16 30 }; 31 + 17 32 home.packages = [ 18 - inputs.nix-inspect.packages.x86_64-linux.default 33 + pkgs.nix-inspect 34 + pkgs.nerd-fonts.fira-code 35 + pkgs.ghc 36 + pkgs.haskellPackages.QuickCheck 37 + pkgs.libgcc 19 38 ]; 20 39 }