--wip-- [skip ci]
This commit is contained in:
parent
df9e409448
commit
0c40f2cd09
4 changed files with 121 additions and 86 deletions
19
flake.nix
19
flake.nix
|
|
@ -18,6 +18,7 @@
|
|||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
nix-rice = { url = "github:bertof/nix-rice"; inputs = { nixpkgs.follows = "nixpkgs"; flake-utils.follows = "flake-utils"; }; };
|
||||
pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-utils.follows = "flake-utils"; };
|
||||
tex2nix = { url = "github:Mic92/tex2nix"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-utils.follows = "flake-utils"; };
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -27,10 +28,11 @@
|
|||
, home-manager
|
||||
, deploy-rs
|
||||
, flake-utils
|
||||
# , nixos-generators
|
||||
# , nixos-generators
|
||||
, nixos-hardware
|
||||
, nix-rice
|
||||
, pre-commit-hooks
|
||||
, tex2nix
|
||||
}:
|
||||
let
|
||||
config = {
|
||||
|
|
@ -95,16 +97,11 @@
|
|||
nix = {
|
||||
package = pkgs.nixVersions.stable;
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
# registry = {
|
||||
# stable = {
|
||||
# from = {
|
||||
# # id = "stable";
|
||||
# type = "indirect";
|
||||
# };
|
||||
# flake = nixpkgs;
|
||||
# to = { owner = "nixos"; repo = "nixpkgs"; type = "github"; };
|
||||
# };
|
||||
# };
|
||||
registry = {
|
||||
stable = { from = { id = "stable"; type = "indirect"; }; flake = nixpkgs; };
|
||||
unstable = { from = { id = "unstable"; type = "indirect"; }; flake = nixpkgs-u; };
|
||||
tex2nix = { from = { id = "tex2nix"; type = "indirect"; }; flake = tex2nix; };
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue