proper registry
This commit is contained in:
parent
08dfd1b7cb
commit
be53b5b4b6
@ -450,6 +450,9 @@
|
||||
"nixos": "nixos",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixosPersistence": "nixosPersistence",
|
||||
"nixpkgs": [
|
||||
"nixos"
|
||||
],
|
||||
"nixpkgsWayland": "nixpkgsWayland",
|
||||
"nur": "nur",
|
||||
"pkgs": "pkgs"
|
||||
|
@ -4,6 +4,7 @@
|
||||
inputs =
|
||||
{
|
||||
nixos.url = "nixpkgs/nixos-unstable";
|
||||
nixpkgs.follows = "nixos";
|
||||
latest.url = "nixpkgs";
|
||||
digga.url = "github:divnix/digga";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ self, config, pkgs, lib, ourLib, ... }:
|
||||
{ self, inputs, config, pkgs, lib, ourLib, ... }:
|
||||
let
|
||||
inherit (lib) fileContents mkIf;
|
||||
pkgBin = ourLib.pkgBinNoDep pkgs;
|
||||
@ -139,7 +139,14 @@ in
|
||||
diff-closures /run/current-system "$systemConfig"
|
||||
'';
|
||||
|
||||
nix = {
|
||||
nix =
|
||||
let
|
||||
registry =
|
||||
builtins.mapAttrs
|
||||
(_: v: { flake = v; })
|
||||
(lib.filterAttrs (_: v: v ? outputs) inputs);
|
||||
in
|
||||
{
|
||||
autoOptimiseStore = true;
|
||||
gc.automatic = true;
|
||||
optimise.automatic = true;
|
||||
@ -152,6 +159,7 @@ in
|
||||
keep-derivations = true
|
||||
fallback = true
|
||||
'';
|
||||
inherit registry;
|
||||
};
|
||||
|
||||
programs.command-not-found.enable = false;
|
||||
|
@ -18,6 +18,8 @@ in
|
||||
"$6$spzqhAyJfhHy$iHgLBlhjGn1l8PnbjJdWTn1GPvcjMqYNKUzdCe/7IrX6sHNgETSr/Nfpdmq9FCXLhrAfwHOd/q/8SvfeIeNX4/";
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.qt5.qtwayland ];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
gtkUsePortal = true;
|
||||
|
Loading…
Reference in New Issue
Block a user