mirror of
https://github.com/materusPL/nixos-config
synced 2026-06-24 17:36:41 +00:00
Update flake, add flake registry, fix xhost, others
This commit is contained in:
+86
-34
@@ -1,78 +1,130 @@
|
||||
{...}:{
|
||||
config.nix.package = lib.mkDefault pkgs.nixVersions.latest;
|
||||
config.nix.registry = lib.mkIf config.materus.profile.nix.enableRegistry {
|
||||
{
|
||||
materusArgs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config.nix.package = lib.mkDefault pkgs.nixVersions.latest;
|
||||
config.nix.registry = {
|
||||
nixpkgs-stable = {
|
||||
from = { type = "indirect"; id = "nixpkgs-stable"; };
|
||||
flake = materusCfg.materusFlake.inputs.nixpkgs-stable;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "nixpkgs-stable";
|
||||
};
|
||||
flake = materusArgs.self.inputs.nixpkgs;
|
||||
};
|
||||
nixpkgs-unstable = {
|
||||
from = { type = "indirect"; id = "nixpkgs-unstable"; };
|
||||
flake = materusCfg.materusFlake.inputs.nixpkgs;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "nixpkgs-unstable";
|
||||
};
|
||||
flake = materusArgs.self.inputs.nixpkgs-unstable;
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
from = { type = "indirect"; id = "nixpkgs"; };
|
||||
flake = materusCfg.configInputs.nixpkgs;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "nixpkgs";
|
||||
};
|
||||
flake = materusArgs.inputs.nixpkgs;
|
||||
};
|
||||
|
||||
emacs-overlay = {
|
||||
from = { type = "indirect"; id = "emacs-overlay"; };
|
||||
flake = materusCfg.configInputs.emacs-overlay;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "emacs-overlay";
|
||||
};
|
||||
flake = materusArgs.inputs.emacs-overlay;
|
||||
};
|
||||
|
||||
flake-utils = {
|
||||
from = { type = "indirect"; id = "flake-utils"; };
|
||||
flake = materusCfg.configInputs.flake-utils;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "flake-utils";
|
||||
};
|
||||
flake = materusArgs.inputs.flake-utils;
|
||||
};
|
||||
|
||||
nixos-hardware = {
|
||||
from = { type = "indirect"; id = "nixos-hardware"; };
|
||||
flake = materusCfg.configInputs.nixos-hardware;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "nixos-hardware";
|
||||
};
|
||||
flake = materusArgs.inputs.nixos-hardware;
|
||||
};
|
||||
|
||||
nixerus = {
|
||||
from = { type = "indirect"; id = "nixerus"; };
|
||||
flake = materusCfg.configInputs.nixerus;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "nixerus";
|
||||
};
|
||||
flake = materusArgs.inputs.nixerus;
|
||||
};
|
||||
|
||||
devshell = {
|
||||
from = { type = "indirect"; id = "devshell"; };
|
||||
flake = materusCfg.configInputs.devshell;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "devshell";
|
||||
};
|
||||
flake = materusArgs.inputs.devshell;
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
from = { type = "indirect"; id = "home-manager"; };
|
||||
flake = materusCfg.configInputs.home-manager;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "home-manager";
|
||||
};
|
||||
flake = materusArgs.inputs.home-manager;
|
||||
};
|
||||
|
||||
sops-nix = {
|
||||
from = { type = "indirect"; id = "sops-nix"; };
|
||||
flake = materusCfg.configInputs.sops-nix;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "sops-nix";
|
||||
};
|
||||
flake = materusArgs.inputs.sops-nix;
|
||||
};
|
||||
|
||||
base16 = {
|
||||
from = { type = "indirect"; id = "base16"; };
|
||||
flake = materusCfg.configInputs.base16;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "base16";
|
||||
};
|
||||
flake = materusArgs.inputs.base16;
|
||||
};
|
||||
|
||||
git-agecrypt = {
|
||||
from = { type = "indirect"; id = "git-agecrypt"; };
|
||||
flake = materusCfg.configInputs.git-agecrypt;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "git-agecrypt";
|
||||
};
|
||||
flake = materusArgs.inputs.git-agecrypt;
|
||||
};
|
||||
|
||||
plasma-manager = {
|
||||
from = { type = "indirect"; id = "plasma-manager"; };
|
||||
flake = materusCfg.configInputs.plasma-manager;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "plasma-manager";
|
||||
};
|
||||
flake = materusArgs.inputs.plasma-manager;
|
||||
};
|
||||
|
||||
nur = {
|
||||
from = { type = "indirect"; id = "nur"; };
|
||||
flake = materusCfg.configInputs.nur;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "nur";
|
||||
};
|
||||
flake = materusArgs.inputs.nur;
|
||||
};
|
||||
|
||||
nix-vscode-extensions = {
|
||||
from = { type = "indirect"; id = "nix-vscode-extensions"; };
|
||||
flake = materusCfg.configInputs.nix-vscode-extensions;
|
||||
from = {
|
||||
type = "indirect";
|
||||
id = "nix-vscode-extensions";
|
||||
};
|
||||
flake = materusArgs.inputs.nix-vscode-extensions;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user