diff options
| author | Mel <einebeere@gmail.com> | 2024-09-13 19:59:05 +0000 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-09-13 19:59:05 +0000 |
| commit | 97482db4bc7d749484dd641f070f8497b17fa5a1 (patch) | |
| tree | f2cb3df9b14487d5c8bdebdda7b967616034144e /flake.nix | |
| parent | 593ec35d7daae320ee58464c8fd039453027fc0c (diff) | |
| download | rnrd-97482db4bc7d749484dd641f070f8497b17fa5a1.tar.zst rnrd-97482db4bc7d749484dd641f070f8497b17fa5a1.zip | |
Flakes
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..4237c2b --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; + + outputs = inputs @ { self, nixpkgs, nixpkgs-unstable }: + let + system = "x86_64-linux"; + in { + nixosConfigurations = { + lapin = nixpkgs.lib.nixosSystem { + inherit system; + + specialArgs = { + unstable = import nixpkgs-unstable { inherit system; }; + inherit inputs; + }; + + modules = [ ./configuration.nix ]; + }; + }; + }; +} |
