mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:46:34 +01:00
nix: clean up
This commit is contained in:
parent
582cfb8163
commit
4e0d2f5dab
1 changed files with 6 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{ pkgs, self, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
|
@ -26,16 +26,14 @@
|
|||
};
|
||||
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;
|
||||
home-manager.flake = self.inputs.home-manager;
|
||||
nixos-hardware.flake = self.inputs.nixos-hardware;
|
||||
nur.flake = self.inputs.nur;
|
||||
nixpkgs.flake = self.inputs.nixpkgs;
|
||||
};
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ];
|
||||
nixPath = [ "nixpkgs=${self.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; [
|
||||
deploy-rs
|
||||
nixfmt
|
||||
|
|
Loading…
Reference in a new issue