From c636397e6062b4d9471a4b5f4e9cf7d34a257131 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 2 Sep 2023 22:05:18 +0530 Subject: flake: init --- flake.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..93713c0 --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + description = "reproducible nixos configuration with flakes"; + inputs.nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable"; + + outputs = { self, nixpkgs }: { + nixosConfigurations = { + cez = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./hosts/cez/configuration.nix ]; + }; + kay = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./hosts/kay/configuration.nix ]; + }; + }; + }; +} -- cgit v1.2.3