Ensure that nix flakes are turned on

This commit is contained in:
Jeremy Wall 2022-05-02 19:25:20 -04:00
parent b6ce12e424
commit f9434e85ac

View File

@ -1,6 +1,13 @@
{ config, pkgs, inputs, ... }:
{
nix = {
package = pkgs.nix;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
imports = [
./program-neovim.nix
];
@ -78,11 +85,11 @@
curl
wget
jq
# TODO(jwall): Find a non broken sile package version and add it as an overlay
spacebar
coreutils
watch
iterm2
# TODO(jwall): Find a non broken sile package version and add it as an overlay
# sile # this is currently broken on darwin: https://github.com/NixOS/nixpkgs/issues/23018
# TODO add sonic-pi here if it supports the arch
];
@ -93,7 +100,6 @@
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
#services.spacebar.enable = true;
#services.spacebar.package = "${pkgs.spacebar}";