diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-25 19:52:09 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-25 19:52:09 -0700 |
| commit | c8a0c5d7bc29b0bb16256ae9ab40b8bb344c6be9 (patch) | |
| tree | 58da4fd02c50e73272e069af61168a021019aff1 /flake.nix | |
init
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..47e0172 --- /dev/null +++ b/flake.nix @@ -0,0 +1,19 @@ +{ + description = "kassouni.net server"; + + inputs = { + nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst"; + }; + + outputs = inputs: { + nixosConfigurations.kassouni-net = inputs.nixpkgs.lib.nixosSystem { + modules = [ ./configuration.nix ]; + }; + + devShells = builtins.mapAttrs (system: pkgs: { + default = pkgs.mkShell { + packages = [ pkgs.just ]; + }; + }) inputs.nixpkgs.legacyPackages; + }; +} |
