diff options
| author | Grigory Shipunov | 2022-06-27 18:50:35 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-06-27 18:51:28 +0200 |
| commit | 5a0b2a82be5d6c79278c370a4caa7e2c4829d0af (patch) | |
| tree | 16e144e60a235614f126bfddd2edd82c4b238413 /flake.nix | |
| parent | 368214ed3c8f449581e808c9a01282c30ad7919b (diff) | |
add element-desktop
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -10,9 +10,12 @@ url = github:astro/microvm.nix; inputs.nixpkgs.follows = "nixpkgs"; }; + rust-overlay = { + url = github:oxalica/rust-overlay; + }; }; - outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, sops-nix, microvm, ... }: { + outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, sops-nix, microvm, rust-overlay, ... }: { nixosConfigurations = { microwave = nixpkgs-unstable.lib.nixosSystem { system = "x86_64-linux"; @@ -25,14 +28,19 @@ ./modules/basic-tools.nix ./modules/gnupg.nix ./modules/hw-accel-intel.nix - ./modules/kernel-latest.nix - ./modules/virtualization.nix ./modules/radio.nix ./modules/tlp.nix ./modules/wireguard.nix ./modules/binary-caches.nix ./modules/science.nix ./modules/mail.nix + ({ pkgs, ... }: { + nixpkgs.overlays = [ rust-overlay.overlay ]; + environment.systemPackages = with pkgs; [ + rust-bin.stable.latest.default + gcc + ]; + }) ]; }; cirrus = nixpkgs.lib.nixosSystem { |
