summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authormtgmonkey <mtgmonkey@nixos>2025-12-28 20:12:01 +0100
committermtgmonkey <mtgmonkey@nixos>2025-12-28 20:12:01 +0100
commit160bdcfb42bf462d7d54edf28a5a4dd6e009f2d1 (patch)
treefdc29fce6f4ba9aee41708e4819dd165999fefdc /flake.nix
init
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix29
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
+ ];
+ };
+ };
+}