From 772a7cc7bbedd26d8c881da4e052dad88b00013a Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 6 May 2023 12:32:14 -0500 Subject: [PATCH] Added a flake with no idea what I'm doing.. --- flake.nix | 11 +++++++++++ system/configuration.nix | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000..a96aa14b --- /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 034ed75c..73ca96d1 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;