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