From 1b2feb39ca3060849c535615c29b34f0b832f277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Santiago?= Date: Sat, 25 May 2024 16:41:55 -0400 Subject: [PATCH] Initialize flake.nix --- flake.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..a2397e6 --- /dev/null +++ b/flake.nix @@ -0,0 +1,20 @@ +{ + description = "A simple NixOS flake"; + + inputs = { + # NixOS official package source, using the nixos-23.11 branch here + nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + }; + + outputs = { self, nixpkgs, ... }@inputs: { + # Please replace my-nixos with your hostname + nixosConfigurations.my-nixos = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + # Import the previous configuration.nix we used, + # so the old configuration file still takes effect + ./configuration.nix + ]; + }; + }; +}