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