Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
25581b314c |
3 changed files with 26 additions and 3 deletions
|
@ -14,11 +14,12 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
./roles/admin.nix
|
./roles/admin.nix
|
||||||
./roles/dev.nix
|
|
||||||
./roles/base.nix
|
./roles/base.nix
|
||||||
./roles/desktop.nix
|
./roles/desktop.nix
|
||||||
./roles/wireless.nix
|
./roles/dev.nix
|
||||||
|
./roles/mail.nix
|
||||||
./roles/vpn.nix
|
./roles/vpn.nix
|
||||||
|
./roles/wireless.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
|
@ -4,20 +4,33 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
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> {};
|
unstable = import <nixos-unstable> {};
|
||||||
mozilla = import <mozilla> {};
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
cmake
|
||||||
|
gcc
|
||||||
go
|
go
|
||||||
|
nasm
|
||||||
|
openssl.dev
|
||||||
|
pkg-config
|
||||||
python37
|
python37
|
||||||
python37Packages.pyls-black
|
python37Packages.pyls-black
|
||||||
python37Packages.pyls-isort
|
python37Packages.pyls-isort
|
||||||
python37Packages.pyls-mypy
|
python37Packages.pyls-mypy
|
||||||
rustup
|
rustup
|
||||||
|
ruststable
|
||||||
sops
|
sops
|
||||||
tig
|
tig
|
||||||
unstable.gopls
|
unstable.gopls
|
||||||
unstable.rust-analyzer
|
unstable.rust-analyzer
|
||||||
|
zlib
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
9
roles/mail.nix
Normal file
9
roles/mail.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
unstable = import <nixos-unstable> {};
|
||||||
|
in {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
unstable.notmuch
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue