kvm
This commit is contained in:
parent
472e592b1d
commit
1cd76a43b7
4 changed files with 4 additions and 19 deletions
|
@ -6,7 +6,7 @@
|
||||||
( pass.withExtensions (ext: [ ext.pass-otp ext.pass-import ext.pass-genphrase ext.pass-audit ext.pass-update ]))
|
( pass.withExtensions (ext: [ ext.pass-otp ext.pass-import ext.pass-genphrase ext.pass-audit ext.pass-update ]))
|
||||||
cabal-install stack hsetroot lm_sensors
|
cabal-install stack hsetroot lm_sensors
|
||||||
wirelesstools ranger apvlv
|
wirelesstools ranger apvlv
|
||||||
fontconfig rustup gcc gdb
|
fontconfig gcc gdb
|
||||||
binutils veracrypt gitAndTools.diff-so-fancy
|
binutils veracrypt gitAndTools.diff-so-fancy
|
||||||
restic ghc jq awscli
|
restic ghc jq awscli
|
||||||
hugo mercurial terraform
|
hugo mercurial terraform
|
||||||
|
|
|
@ -34,7 +34,7 @@ in
|
||||||
|
|
||||||
users.users.cyryl = {
|
users.users.cyryl = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" "vboxusers" "adbusers" ];
|
extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" "vboxusers" "adbusers" "libvirtd" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.kernelParams = [ "intel_iommu=on" ];
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
}
|
}
|
||||||
|
|
17
nixos/up.sh
17
nixos/up.sh
|
@ -26,23 +26,6 @@ cp -v "$DIR/keeweb.desktop" ~/.local/share/applications/
|
||||||
ln -vfs "$DIR/tools" ~/
|
ln -vfs "$DIR/tools" ~/
|
||||||
echo "all links done"
|
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
|
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 --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
|
|
Loading…
Reference in a new issue