diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 29 |
1 files changed, 29 insertions, 0 deletions
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 + ]; + }; + }; +} |
