This commit is contained in:
foosinn 2020-08-28 20:38:31 +02:00
parent bb686b6659
commit 25581b314c
3 changed files with 26 additions and 3 deletions

View file

@ -14,11 +14,12 @@
./hardware-configuration.nix
./roles/admin.nix
./roles/dev.nix
./roles/base.nix
./roles/desktop.nix
./roles/wireless.nix
./roles/dev.nix
./roles/mail.nix
./roles/vpn.nix
./roles/wireless.nix
];
boot.loader.systemd-boot.enable = true;

View file

@ -4,20 +4,33 @@
{ config, lib, pkgs, ... }:
let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; } ;
ruststable = (
nixpkgs.latest.rustChannels.stable.rust.override {
extensions = [ "rust-src" "rls-preview" "rust-analysis" "rustfmt-preview" ];
}
);
unstable = import <nixos-unstable> {};
mozilla = import <mozilla> {};
in {
environment.systemPackages = with pkgs; [
cmake
gcc
go
nasm
openssl.dev
pkg-config
python37
python37Packages.pyls-black
python37Packages.pyls-isort
python37Packages.pyls-mypy
rustup
ruststable
sops
tig
unstable.gopls
unstable.rust-analyzer
zlib
];
}

9
roles/mail.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
let
unstable = import <nixos-unstable> {};
in {
environment.systemPackages = with pkgs; [
unstable.notmuch
];
}