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
|
||||
];
|
||||
|
||||
nix.nixPath = [ # "/home/benson/.nix-defexpr/channels"
|
||||
"nixpkgs=${inputs.nixpkgs}"
|
||||
"nixos-config=${inputs.self}/hosts/${config.networking.hostName}/configuration.nix"
|
||||
"/nix/var/nix/profiles/per-user/root/channels"];
|
||||
nix = {
|
||||
nixPath = [ # "/home/benson/.nix-defexpr/channels"
|
||||
"nixpkgs=${inputs.nixpkgs}"
|
||||
"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";
|
||||
|
||||
|
|
|
|||
|
|
@ -80,6 +80,8 @@
|
|||
EDITOR = "emacsclient -n";
|
||||
};
|
||||
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
my.bash-config.enable = true;
|
||||
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
# introduces backwards incompatible changes.
|
||||
|
|
|
|||
Loading…
Reference in a new issue