From a9532469718f53912a66073dfae12a5bcf8e7ffa Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Wed, 25 May 2022 19:27:42 +0200 Subject: init --- flake.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d570cc9 --- /dev/null +++ b/flake.nix @@ -0,0 +1,36 @@ +{ + description = "oxa's system configs"; + + inputs = { + nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; + sops-nix.url = github:Mic92/sops-nix; + sops-nix.inputs.nixpkgs.follows = "nixpkgs"; + microvm = { + url = github:astro/microvm.nix; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = inputs@{ self, nixpkgs, sops-nix, microvm, ... }: { + nixosConfigurations = { + microwave = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ + ./hosts/microwave/configuration.nix + ./modules/graphical.nix + ./modules/hw-accel-intel.nix + ./modules/kernel-latest.nix + ./modules/virtualization.nix + ./modules/emacs.nix + ./modules/radio.nix + ./modules/tlp.nix + ./modules/chromium.nix + ./modules/wireguard.nix + ./modules/binary-caches.nix + ./modules/science.nix + ]; + }; + }; + }; +} -- cgit v1.3.1