From e0259412d09499f30fdf7b3c579667313a991fa7 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 18 Mar 2023 13:34:13 +0100 Subject: initial commit --- flake.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..69898bc --- /dev/null +++ b/flake.nix @@ -0,0 +1,23 @@ +{ + inputs = { + my-nixpkgs.url = "github:qaristote/my-nixpkgs"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11-small"; + }; + + outputs = { self, nixpkgs, my-nixpkgs, nixos-hardware, ... }: { + nixosConfigurations = let + system = "x86_64-linux"; + commonModules = [ + my-nixpkgs.nixosModules.personal + ({ ... }: { nixpkgs.overlays = [ my-nixpkgs.overlays.default ]; }) + ]; + in { + kerberos = nixpkgs.lib.nixosSystem { + inherit system; + modules = commonModules + ++ [ ./config ]; + specialArgs = { inherit nixos-hardware; }; + }; + }; + }; +} -- cgit v1.2.3