diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..a96aa14 --- /dev/null +++ b/flake.nix @@ -0,0 +1,11 @@ +{ + description = "A very basic flake"; + + outputs = { self, nixpkgs }: { + + packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello; + + packages.x86_64-linux.default = self.packages.x86_64-linux.hello; + + }; +} diff --git a/system/configuration.nix b/system/configuration.nix index 034ed75..73ca96d 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -14,6 +14,8 @@ "nixos-config=$HOME/dotfiles/system/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]; + + nix.settings.experimental-features = [ "nix-command" "flakes" ]; # Doas instead of sudo security.doas.enable = true;