devtools: init
This commit is contained in:
parent
a5a2c6c87c
commit
3996f63789
2 changed files with 21 additions and 18 deletions
19
flake.nix
19
flake.nix
|
@ -63,7 +63,7 @@
|
|||
./hosts/microwave
|
||||
./modules/basic-tools.nix
|
||||
./modules/binary-caches.nix
|
||||
./modules/emacs.nix
|
||||
./modules/devtools.nix
|
||||
./modules/gnupg.nix
|
||||
./modules/graphical.nix
|
||||
./modules/hw-accel-intel.nix
|
||||
|
@ -72,23 +72,6 @@
|
|||
./modules/science.nix
|
||||
./modules/tlp.nix
|
||||
./modules/virtualization.nix
|
||||
({ pkgs, ... }: {
|
||||
nixpkgs.overlays = [
|
||||
fenix.overlay
|
||||
self.overlays.default
|
||||
emacs-overlay.overlay
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
(fenix.packages."x86_64-linux".stable.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
])
|
||||
rust-analyzer-nightly
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
cirrus = nixpkgs.lib.nixosSystem {
|
||||
|
|
20
modules/devtools.nix
Normal file
20
modules/devtools.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, inputs, ... }: {
|
||||
|
||||
nixpkgs.overlays = [
|
||||
inputs.fenix.overlay
|
||||
inputs.emacs-overlay.overlay
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
# rust
|
||||
(inputs.fenix.packages."x86_64-linux".stable.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
])
|
||||
rust-analyzer-nightly
|
||||
# nix
|
||||
rnix-lsp
|
||||
];
|
||||
}
|
Loading…
Add table
Reference in a new issue