From 472e592b1dac654dd02f3122c2f455ce7abe8307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 29 Feb 2020 14:00:42 +0000 Subject: [PATCH] statr migration to 20.03 --- nixos/boxes/foureighty.nix | 6 +++--- nixos/common-hardware.nix | 1 - nixos/gui.nix | 2 +- nixos/home.nix | 4 ++-- nixos/libvirt.nix | 4 ++++ 5 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 nixos/libvirt.nix diff --git a/nixos/boxes/foureighty.nix b/nixos/boxes/foureighty.nix index bf73e22f..181470da 100644 --- a/nixos/boxes/foureighty.nix +++ b/nixos/boxes/foureighty.nix @@ -38,12 +38,12 @@ ../boot.nix ../common.nix ../gfx-intel.nix - ../virtualbox.nix ../zerotier.nix ../i3/system.nix ../distributed-builds.nix + ../libvirt.nix ]; - nix.maxJobs = 4; - nix.buildCores = 2; + nix.maxJobs = 2; + nix.buildCores = 6; } diff --git a/nixos/common-hardware.nix b/nixos/common-hardware.nix index 285acd8b..7875f162 100644 --- a/nixos/common-hardware.nix +++ b/nixos/common-hardware.nix @@ -12,7 +12,6 @@ extraModules = [ pkgs.pulseaudio-modules-bt ]; }; hardware.u2f.enable = true; - hardware.brightnessctl.enable = true; hardware.sane.enable = true; hardware.bluetooth = { enable = true; diff --git a/nixos/gui.nix b/nixos/gui.nix index 4451d180..15143a1c 100644 --- a/nixos/gui.nix +++ b/nixos/gui.nix @@ -4,7 +4,7 @@ home.packages = with pkgs; [ passff-host gnome3.gnome-screenshot - xpdf apvlv xidlehook blueman + apvlv xidlehook blueman fontconfig xclip gimp glxinfo notable evince signal-desktop libreoffice vlc diff --git a/nixos/home.nix b/nixos/home.nix index 15303eaf..2d23a512 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -15,7 +15,7 @@ in }; home.sessionVariables = { - TERMINAL="termite"; + TERMINAL="alacritty"; CM_LAUNCHER="rofi"; PASSWORD_STORE_ENABLE_EXTENSIONS="true"; }; @@ -23,7 +23,7 @@ in imports = [ ./programs/tmux.nix ./programs/zsh.nix - ./programs/termite.nix + ./programs/alacritty.nix ./programs/git.nix ./programs/vim.nix ./programs.nix diff --git a/nixos/libvirt.nix b/nixos/libvirt.nix new file mode 100644 index 00000000..768bd814 --- /dev/null +++ b/nixos/libvirt.nix @@ -0,0 +1,4 @@ +{ config, pkgs, ... }: +{ + virtualisation.libvirtd.enable = true; +}