mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Use Nix Super and update lock
This commit is contained in:
parent
32fb6e372f
commit
2cc888498d
3 changed files with 138 additions and 41 deletions
15
flake.nix
15
flake.nix
|
@ -1,15 +1,17 @@
|
|||
{
|
||||
description = "My NixOS configurations.";
|
||||
description = "All my NixOS configurations.";
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = ''
|
||||
https://nix-community.cachix.org/
|
||||
https://hyprland.cachix.org/
|
||||
https://cache.privatevoid.net/
|
||||
'';
|
||||
|
||||
extra-trusted-public-keys = ''
|
||||
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
|
||||
hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=
|
||||
cache.privatevoid.net-1:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg=
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -18,6 +20,10 @@
|
|||
url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
nix-super = {
|
||||
url = "github:privatevoid-net/nix-super";
|
||||
};
|
||||
|
||||
homeManager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -46,7 +52,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, homeManager, tools, themes, fenix, ... } @ inputs: tools.eachDefaultLinuxArch (system: let
|
||||
outputs = { nixpkgs, nix-super, homeManager, tools, themes, fenix, ... } @ inputs: tools.eachDefaultLinuxArch (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
upkgs = {
|
||||
|
@ -141,7 +147,10 @@
|
|||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = [ fenix.overlays.default ];
|
||||
nixpkgs.overlays = [
|
||||
fenix.overlays.default
|
||||
nix-super.overlays.default
|
||||
];
|
||||
|
||||
programs.nix-ld = enabled {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue