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,20 +139,28 @@ in
|
||||
diff-closures /run/current-system "$systemConfig"
|
||||
'';
|
||||
|
||||
nix = {
|
||||
autoOptimiseStore = true;
|
||||
gc.automatic = true;
|
||||
optimise.automatic = true;
|
||||
useSandbox = true;
|
||||
allowedUsers = [ "@wheel" ];
|
||||
trustedUsers = [ "root" "@wheel" ];
|
||||
extraOptions = ''
|
||||
min-free = 536870912
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
fallback = true
|
||||
'';
|
||||
};
|
||||
nix =
|
||||
let
|
||||
registry =
|
||||
builtins.mapAttrs
|
||||
(_: v: { flake = v; })
|
||||
(lib.filterAttrs (_: v: v ? outputs) inputs);
|
||||
in
|
||||
{
|
||||
autoOptimiseStore = true;
|
||||
gc.automatic = true;
|
||||
optimise.automatic = true;
|
||||
useSandbox = true;
|
||||
allowedUsers = [ "@wheel" ];
|
||||
trustedUsers = [ "root" "@wheel" ];
|
||||
extraOptions = ''
|
||||
min-free = 536870912
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
fallback = true
|
||||
'';
|
||||
inherit registry;
|
||||
};
|
||||
|
||||
programs.command-not-found.enable = false;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
@ -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