Add virtualbox and autoupgrade

This commit is contained in:
Cyryl Płotnicki 2019-04-05 22:02:20 +01:00
parent 2ab5be5c43
commit 989a538fd4

View file

@ -13,6 +13,7 @@ in
]; ];
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: { packageOverrides = pkgs: {
unstable = import unstableTarball { unstable = import unstableTarball {
config = config.nixpkgs.config; config = config.nixpkgs.config;
@ -33,7 +34,7 @@ in
users.users.cyryl = { users.users.cyryl = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" ]; extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" "vboxusers"];
packages = with pkgs; [ packages = with pkgs; [
firefox chromium terminator zsh keepass fontconfig go nodejs unstable.rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator gnomeExtensions.caffeine gnomeExtensions.no-title-bar unstable.gnomeExtensions.gsconnect unstable.appimage-run openjdk10 pdftk pdfshuffler gimp restic firefox chromium terminator zsh keepass fontconfig go nodejs unstable.rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator gnomeExtensions.caffeine gnomeExtensions.no-title-bar unstable.gnomeExtensions.gsconnect unstable.appimage-run openjdk10 pdftk pdfshuffler gimp restic
]; ];
@ -41,6 +42,11 @@ in
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
virtualisation.virtualbox.host = {
enable = true;
enableExtensionPack = true;
};
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
autoPrune.enable = true; autoPrune.enable = true;
@ -108,6 +114,7 @@ in
loader.efi.canTouchEfiVariables = true; loader.efi.canTouchEfiVariables = true;
}; };
system.autoUpgrade.enable = true;
system.stateVersion = "18.09"; system.stateVersion = "18.09";
} }