This commit is contained in:
Cyryl Płotnicki 2020-03-07 01:57:00 +00:00
parent 472e592b1d
commit 1cd76a43b7
4 changed files with 4 additions and 19 deletions

View file

@ -6,7 +6,7 @@
( pass.withExtensions (ext: [ ext.pass-otp ext.pass-import ext.pass-genphrase ext.pass-audit ext.pass-update ]))
cabal-install stack hsetroot lm_sensors
wirelesstools ranger apvlv
fontconfig rustup gcc gdb
fontconfig gcc gdb
binutils veracrypt gitAndTools.diff-so-fancy
restic ghc jq awscli
hugo mercurial terraform

View file

@ -34,7 +34,7 @@ in
users.users.cyryl = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" "vboxusers" "adbusers" ];
extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" "vboxusers" "adbusers" "libvirtd" ];
shell = pkgs.zsh;
};

View file

@ -1,4 +1,6 @@
{ config, pkgs, ... }:
{
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "intel_iommu=on" ];
virtualisation.libvirtd.enable = true;
}

View file

@ -26,23 +26,6 @@ cp -v "$DIR/keeweb.desktop" ~/.local/share/applications/
ln -vfs "$DIR/tools" ~/
echo "all links done"
set +e
rustup update
set -e
rustup install stable
set +e
rustup install nightly
set -e
rustup default stable
(test -x "${HOME}/.cargo/bin/cargo-install-update" || nix-shell -p gcc pkgconfig zlib openssl --run "cargo install cargo-update" )
(test -x "${HOME}/.cargo/bin/genpass" || cargo install genpass)
set +e
nix-shell -p gcc pkgconfig zlib openssl --run "cargo install-update -a"
set -e
nix-shell -p gcc pkgconfig zlib openssl --run "rustup run nightly cargo install-update -a"
sudo nix-channel --add https://nixos.org/channels/nixos-19.09-small nixos
nix-channel --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager
nix-channel --update