1
0
Fork 0

Enable flakes

This commit is contained in:
Malte Brandy 2022-03-07 17:13:18 +01:00
parent 713d40ffed
commit 5e60962725
3 changed files with 7 additions and 2 deletions

View file

@ -41,8 +41,12 @@
direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
nix-direnv = {
enable = true;
enableFlakes = true;
};
};
tmux = {
enable = true;
escapeTime = 1;

View file

@ -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

View file

@ -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