diff options
| author | Grigory Shipunov | 2022-05-25 19:27:42 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-05-25 19:27:42 +0200 |
| commit | a9532469718f53912a66073dfae12a5bcf8e7ffa (patch) | |
| tree | b35755f1a07b3d9798f12d5329c83f97145b5800 /flake.nix | |
init
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 36 |
1 files changed, 36 insertions, 0 deletions
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 + ]; + }; + }; + }; +} |
