nix
This commit is contained in:
		
							parent
							
								
									b593f9a8b8
								
							
						
					
					
						commit
						4a2627a2df
					
				
					 2 changed files with 2 additions and 88 deletions
				
			
		
							
								
								
									
										82
									
								
								flake.lock
									
									
									
									
									
								
							
							
						
						
									
										82
									
								
								flake.lock
									
									
									
									
									
								
							| 
						 | 
					@ -1,23 +1,5 @@
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  "nodes": {
 | 
					  "nodes": {
 | 
				
			||||||
    "flake-parts": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "nixpkgs-lib": "nixpkgs-lib"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1719994518,
 | 
					 | 
				
			||||||
        "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
 | 
					 | 
				
			||||||
        "owner": "hercules-ci",
 | 
					 | 
				
			||||||
        "repo": "flake-parts",
 | 
					 | 
				
			||||||
        "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "hercules-ci",
 | 
					 | 
				
			||||||
        "repo": "flake-parts",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "flake-utils": {
 | 
					    "flake-utils": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "systems": "systems"
 | 
					        "systems": "systems"
 | 
				
			||||||
| 
						 | 
					@ -56,53 +38,7 @@
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "lexical": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "flake-parts": "flake-parts",
 | 
					 | 
				
			||||||
        "nixpkgs": "nixpkgs",
 | 
					 | 
				
			||||||
        "systems": "systems_2"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1723134533,
 | 
					 | 
				
			||||||
        "narHash": "sha256-YKp1IOBIt6StYpVZyTj3BMZM/+6Bp+galbFpuBKYeOM=",
 | 
					 | 
				
			||||||
        "owner": "lexical-lsp",
 | 
					 | 
				
			||||||
        "repo": "lexical",
 | 
					 | 
				
			||||||
        "rev": "d6e1a734961a4e2b334b678de18a6701019915b6",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "lexical-lsp",
 | 
					 | 
				
			||||||
        "repo": "lexical",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "nixpkgs": {
 | 
					    "nixpkgs": {
 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1719931832,
 | 
					 | 
				
			||||||
        "narHash": "sha256-0LD+KePCKKEb4CcPsTBOwf019wDtZJanjoKm1S8q3Do=",
 | 
					 | 
				
			||||||
        "owner": "NixOS",
 | 
					 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					 | 
				
			||||||
        "rev": "0aeab749216e4c073cece5d34bc01b79e717c3e0",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "id": "nixpkgs",
 | 
					 | 
				
			||||||
        "type": "indirect"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "nixpkgs-lib": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1719876945,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=",
 | 
					 | 
				
			||||||
        "type": "tarball",
 | 
					 | 
				
			||||||
        "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "type": "tarball",
 | 
					 | 
				
			||||||
        "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "nixpkgs_2": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1724395761,
 | 
					        "lastModified": 1724395761,
 | 
				
			||||||
        "narHash": "sha256-zRkDV/nbrnp3Y8oCADf5ETl1sDrdmAW6/bBVJ8EbIdQ=",
 | 
					        "narHash": "sha256-zRkDV/nbrnp3Y8oCADf5ETl1sDrdmAW6/bBVJ8EbIdQ=",
 | 
				
			||||||
| 
						 | 
					@ -122,8 +58,7 @@
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "flake-utils": "flake-utils",
 | 
					        "flake-utils": "flake-utils",
 | 
				
			||||||
        "home-manager": "home-manager",
 | 
					        "home-manager": "home-manager",
 | 
				
			||||||
        "lexical": "lexical",
 | 
					        "nixpkgs": "nixpkgs"
 | 
				
			||||||
        "nixpkgs": "nixpkgs_2"
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "systems": {
 | 
					    "systems": {
 | 
				
			||||||
| 
						 | 
					@ -140,21 +75,6 @@
 | 
				
			||||||
        "repo": "default",
 | 
					        "repo": "default",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "systems_2": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "root": "root",
 | 
					  "root": "root",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,10 +8,9 @@
 | 
				
			||||||
      url = "github:nix-community/home-manager";
 | 
					      url = "github:nix-community/home-manager";
 | 
				
			||||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
					      inputs.nixpkgs.follows = "nixpkgs";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    lexical.url = "github:lexical-lsp/lexical";
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  outputs = { nixpkgs, home-manager, flake-utils, lexical, ... }:
 | 
					  outputs = { nixpkgs, home-manager, flake-utils, ... }:
 | 
				
			||||||
    flake-utils.lib.eachDefaultSystem (system:
 | 
					    flake-utils.lib.eachDefaultSystem (system:
 | 
				
			||||||
      let
 | 
					      let
 | 
				
			||||||
        user = "nikos"; # change your user here
 | 
					        user = "nikos"; # change your user here
 | 
				
			||||||
| 
						 | 
					@ -25,11 +24,6 @@
 | 
				
			||||||
          # Specify your home configuration modules here, for example,
 | 
					          # Specify your home configuration modules here, for example,
 | 
				
			||||||
          # the path to your home.nix.
 | 
					          # the path to your home.nix.
 | 
				
			||||||
          modules = [
 | 
					          modules = [
 | 
				
			||||||
            ({ ... }: {
 | 
					 | 
				
			||||||
              nixpkgs.overlays = [
 | 
					 | 
				
			||||||
                (self: super: { lexical = lexical.packages.${system}.default; })
 | 
					 | 
				
			||||||
              ];
 | 
					 | 
				
			||||||
            })
 | 
					 | 
				
			||||||
            ./home.nix
 | 
					            ./home.nix
 | 
				
			||||||
          ];
 | 
					          ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue