diff options
author | System administrator <root@nix.webgit.mccd.space> | 2024-01-20 21:18:57 +0000 |
---|---|---|
committer | System administrator <root@nix.webgit.mccd.space> | 2024-01-20 21:18:57 +0000 |
commit | c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5 (patch) | |
tree | 2e098a711f25b8b7f653c788bd002e0e80ce1a3b /flake.nix | |
download | nixos-c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5.tar.gz nixos-c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5.tar.bz2 nixos-c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5.zip |
Add initial nix config
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 16 |
1 files changed, 16 insertions, 0 deletions
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 + ]; + }; + }; +} |