From ff079017d639fb82d47738130e655d7af5dd2190 Mon Sep 17 00:00:00 2001 From: Julian Date: Sun, 18 Dec 2022 23:22:26 -0800 Subject: [PATCH] no flakes --- configuration.nix | 1 - flake.nix | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 flake.nix diff --git a/configuration.nix b/configuration.nix index cd14931..f2682a6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,7 +7,6 @@ { imports = ./hardware-configuration.nix - ./flake.nix ]; # Bootloader. diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..951e4fe --- /dev/null +++ b/flake.nix @@ -0,0 +1,12 @@ +{ + description = "NixOS configuration with flakes"; + inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + + outputs = { self, nixpkgs, nixos-hardware }: { + nixosConfigurations. = nixpkgs.lib.nixosSystem { + modules = [ + nixos-hardware.nixosModules.framework + ]; + }; + }; +}