From 160bdcfb42bf462d7d54edf28a5a4dd6e009f2d1 Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Sun, 28 Dec 2025 20:12:01 +0100 Subject: init --- flake.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..e3e665e --- /dev/null +++ b/flake.nix @@ -0,0 +1,29 @@ +{ + inputs = { + impermanence.url = "github:nix-community/impermanence"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + noshell = { + url = "github:viperML/noshell"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + outputs = { + impermanence, + nixpkgs, + noshell, + self, + ... + }: let + system = "x86_64-linux"; + in { + nixosConfigurations."nixos" = nixpkgs.lib.nixosSystem { + inherit system; + modules = [ + impermanence.nixosModules.impermanence + noshell.nixosModules.default + ./configuration.nix + ./hardware-configuration.nix + ]; + }; + }; +} -- cgit v1.3