UGH, registries, yet another thing
This commit is contained in:
parent
14484714cb
commit
9e4cb88d75
3 changed files with 21 additions and 4 deletions
|
|
@ -28,10 +28,23 @@ in
|
||||||
inputs.emacs-overlay.overlays.default
|
inputs.emacs-overlay.overlays.default
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.nixPath = [ # "/home/benson/.nix-defexpr/channels"
|
nix = {
|
||||||
"nixpkgs=${inputs.nixpkgs}"
|
nixPath = [ # "/home/benson/.nix-defexpr/channels"
|
||||||
"nixos-config=${inputs.self}/hosts/${config.networking.hostName}/configuration.nix"
|
"nixpkgs=${inputs.nixpkgs}"
|
||||||
"/nix/var/nix/profiles/per-user/root/channels"];
|
"nixos-config=${inputs.self}/hosts/${config.networking.hostName}/configuration.nix"
|
||||||
|
"/nix/var/nix/profiles/per-user/root/channels"];
|
||||||
|
|
||||||
|
# MY GOD, this is what is used for nix develop, nix run, etc.
|
||||||
|
registry = {
|
||||||
|
system = {
|
||||||
|
from = {
|
||||||
|
type = "indirect";
|
||||||
|
id = "system";
|
||||||
|
};
|
||||||
|
flake = inputs.nixpkgs;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
nix.settings.experimental-features = "nix-command flakes";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,8 @@
|
||||||
EDITOR = "emacsclient -n";
|
EDITOR = "emacsclient -n";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
my.bash-config.enable = true;
|
my.bash-config.enable = true;
|
||||||
|
|
||||||
|
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
# introduces backwards incompatible changes.
|
# introduces backwards incompatible changes.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue