templates: rust-monorepo: no vcs on `cargo new`
parent
d3c0db3363
commit
2fe6f6ce97
27
flake.lock
27
flake.lock
|
@ -193,6 +193,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-index-database": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1673365945,
|
||||||
|
"narHash": "sha256-/duo8kCEbo62D5gn46m//jfvRtT56KS5dy+j6+Rl+4Y=",
|
||||||
|
"owner": "mic92",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"rev": "0e51ff44d6bef0b6b2bbf9e34fdc029fc24820fc",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "mic92",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixgl": {
|
"nixgl": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_3",
|
"flake-utils": "flake-utils_3",
|
||||||
|
@ -211,11 +231,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673466167,
|
"lastModified": 1671983799,
|
||||||
"narHash": "sha256-1HzUCtWwHRGzTOHCIKGG0lVL6wvsyPSSyBuIqZWYowc=",
|
"narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "68e03abb2fd8db50eaee69ad58b208451143e005",
|
"rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -279,6 +299,7 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"kpcli-py": "kpcli-py",
|
"kpcli-py": "kpcli-py",
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
|
"nix-index-database": "nix-index-database",
|
||||||
"nixgl": "nixgl",
|
"nixgl": "nixgl",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -22,7 +22,14 @@
|
||||||
url = "github:rebkwok/kpcli";
|
url = "github:rebkwok/kpcli";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
neovim-nightly-overlay = {
|
||||||
|
url = "github:nix-community/neovim-nightly-overlay";
|
||||||
|
inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=fad51abd42ca17a60fc1d4cb9382e2d79ae31836";
|
||||||
|
};
|
||||||
|
nix-index-database = {
|
||||||
|
url = "github:mic92/nix-index-database";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
@ -34,6 +41,7 @@
|
||||||
, rust-overlay
|
, rust-overlay
|
||||||
, flake-compat
|
, flake-compat
|
||||||
, neovim-nightly-overlay
|
, neovim-nightly-overlay
|
||||||
|
, nix-index-database
|
||||||
, ...
|
, ...
|
||||||
}@_inputs:
|
}@_inputs:
|
||||||
let
|
let
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# Turns given inputs into the standardized shape of the inputs to configure
|
||||||
|
# custom base modules in this directory.
|
||||||
{ pkgs
|
{ pkgs
|
||||||
, lib ? pkgs.lib
|
, lib ? pkgs.lib
|
||||||
, ...
|
, ...
|
||||||
|
|
|
@ -23,6 +23,10 @@
|
||||||
# Pin to a nixpkgs revision that doesn't have NixOS/nixpkgs#208103 yet
|
# Pin to a nixpkgs revision that doesn't have NixOS/nixpkgs#208103 yet
|
||||||
inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=fad51abd42ca17a60fc1d4cb9382e2d79ae31836";
|
inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=fad51abd42ca17a60fc1d4cb9382e2d79ae31836";
|
||||||
};
|
};
|
||||||
|
nix-index-database = {
|
||||||
|
url = "github:mic92/nix-index-database";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
@ -109,6 +113,7 @@
|
||||||
# it to be the proper path
|
# it to be the proper path
|
||||||
base.keepass.path = "/perso/garden/keepass.kdbx";
|
base.keepass.path = "/perso/garden/keepass.kdbx";
|
||||||
base.graphics.useNixGL.defaultPackage = "nixGLNvidia";
|
base.graphics.useNixGL.defaultPackage = "nixGLNvidia";
|
||||||
|
base.graphics.useNixGL.enable = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
# optionally pass inarguments to module
|
# optionally pass inarguments to module
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[cargo-new]
|
||||||
|
# since we already have a root .git
|
||||||
|
vcs = "none" # enum["git", "hg", "pijul", "fossil", "none"]
|
||||||
|
|
Loading…
Reference in New Issue