mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 09:56:34 +01:00
nix: manage channels
This commit is contained in:
parent
eee9e90403
commit
582cfb8163
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
|
@ -25,8 +25,17 @@
|
||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
};
|
};
|
||||||
package = pkgs.nixVersions.nix_2_15;
|
package = pkgs.nixVersions.nix_2_15;
|
||||||
|
registry = {
|
||||||
|
home-manager.flake = inputs.home-manager;
|
||||||
|
nixos-hardware.flake = inputs.nixos-hardware;
|
||||||
|
nur.flake = inputs.nur;
|
||||||
|
nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
};
|
||||||
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.etc."channels/nixpkgs".source = inputs.nixpkgs.outPath;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
deploy-rs
|
deploy-rs
|
||||||
nixfmt
|
nixfmt
|
||||||
|
|
Loading…
Reference in a new issue