From c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5 Mon Sep 17 00:00:00 2001 From: System administrator Date: Sat, 20 Jan 2024 21:18:57 +0000 Subject: Add initial nix config --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..82dc5b1 --- /dev/null +++ b/flake.nix @@ -0,0 +1,16 @@ +{ + description = "Run Ann Server as a systemd service"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixpkgs-unstable"; + inputs.ann.url = "git+https://git.sr.ht/~marcc/ann_bloop"; + + + outputs = {self,nixpkgs, ann, ...}@inputs: { + nixosConfigurations.nix = nixpkgs.lib.nixosSystem { + specialArgs = {inherit inputs;}; + system = "x86_64-linux"; + modules = [ + ./configuration.nix + ]; + }; + }; +} -- cgit v1.2.3