From 26771f0daa736498ccb65de667821196d2b25966 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sun, 9 Jan 2022 06:47:36 +0100 Subject: testing flakes i guess --- flake.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..069fcfd --- /dev/null +++ b/flake.nix @@ -0,0 +1,20 @@ + +{ + description = "testing nix flakes for server deployment"; + + inputs = { + nixpkgs = "github:NixOS/nixpkgs#release-21.11"; + nixpkgs-unstalbe = "github:NixOS/nixpkgs#nixpkgs-unstable"; + uplcg = "git:https//stuebinm.eu/git/uplcg"; + woitb = "git:https://stuebinm.eu/git/woitb"; + workadventure = "git:https://stuebinm.eu/git/workadventure-nix"; + }; + + output = { self, nixpkgs, ... }@inputs: { + + nixosConfigurations.chaski = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./hosts/chaski/configuration.nix ]; + }; + }; +} -- cgit v1.2.3