Enable flakes
This commit is contained in:
parent
713d40ffed
commit
5e60962725
|
@ -41,8 +41,12 @@
|
|||
direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
nix-direnv = {
|
||||
enable = true;
|
||||
enableFlakes = true;
|
||||
};
|
||||
};
|
||||
|
||||
tmux = {
|
||||
enable = true;
|
||||
escapeTime = 1;
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
trustedUsers = [ "maralorn" "laminar" ];
|
||||
buildMachines = pkgs.privateValue [ ] "remote-builders";
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
fallback = true
|
||||
auto-optimise-store = true
|
||||
builders-use-substitutes = true
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
self: super: {
|
||||
# pkgs assumed to be present on a non nixos host
|
||||
nixFlakes = self.writeShellScriptBin "flix" ''exec ${self.nix}/bin/nix --experimental-features "nix-command flakes" --log-format bar-with-logs "$@"'';
|
||||
nixFlakes = self.writeShellScriptBin "flix" ''exec ${self.nix}/bin/nix --log-format bar-with-logs "$@"'';
|
||||
core-system-pkgs = {
|
||||
inherit (self)
|
||||
gitFull gnumake mkpasswd file wget curl wireguard gnupg mutt bind liboping
|
||||
|
|
Loading…
Reference in a new issue