diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2025-10-10 18:42:56 +0200 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2025-10-19 15:25:56 +0200 |
| commit | fd69ebbaad366cca94f13489723ce003bea69c36 (patch) | |
| tree | 40c77de69928cae1aba88202674964353216c125 /flake.nix | |
| download | oden-fd69ebbaad366cca94f13489723ce003bea69c36.tar.gz | |
Initial commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..89a530a --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; + disko.url = "github:nix-community/disko/latest"; + disko.inputs.nixpkgs.follows = "nixpkgs"; + impermanence.url = "github:nix-community/impermanence"; + }; + outputs = inputs@{ self, nixpkgs, disko, impermanence, ... }: { + nixosConfigurations.oden = nixpkgs.lib.nixosSystem { + modules = [ ./configuration.nix disko.nixosModules.disko impermanence.nixosModules.impermanence ]; + specialArgs = { + inherit inputs; + }; + }; + }; +} + |
