From 9525fb6ec39b80d788daceb9a207f6c90d02ce5e Mon Sep 17 00:00:00 2001 From: josiah Date: Tue, 15 Dec 2020 15:24:49 -0600 Subject: [PATCH] Update config. --- .config/awesome/rc.lua | 5 +++-- nixos-config/configuration.nix | 22 +++++++++++++++++----- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 0921c12..bd946d1 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -337,7 +337,7 @@ globalkeys = gears.table.join( awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, {description = "select previous", group = "layout"}), - awful.key({ modkey, "Control" }, "n", + awful.key({ "Control","Mod1", "Shift", "Mod4" }, "n", function () local c = awful.client.restore() -- Focus restored client @@ -620,7 +620,8 @@ autorunApps = "xset -dpms", "xset s noblank", "nm-applet", - "espanso daemon" + "espanso daemon", + "pyls" } if autorun then for app = 1, #autorunApps do diff --git a/nixos-config/configuration.nix b/nixos-config/configuration.nix index ed91d9a..5107aeb 100644 --- a/nixos-config/configuration.nix +++ b/nixos-config/configuration.nix @@ -48,16 +48,23 @@ in # $ nix search wget nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ - # build shit + # build shit autoconf yarn automake gnumake wget - gcc-arm-embedded + gcc-arm-embedded xorg.libX11 vim konsole + patchelf + docker + # jlj dev + poetry + python38Packages.pycairo + # python-language-server + python38Packages.python-language-server # jlj utils ansible python38 @@ -84,6 +91,8 @@ in scrot qbittorrent appimage-run + appimagekit + file fuse obs-studio # jlj sound @@ -149,10 +158,9 @@ in services.gnome3.gnome-online-accounts.enable = true; services.gnome3.gnome-keyring.enable = true; - # enable espanso globally: services.espanso.enable = true; - + # Enable the OpenSSH daemon. services.openssh.enable = true; @@ -188,10 +196,14 @@ in # services.xserver.desktopManager.plasma5.enable = true; programs.qt5ct.enable = true; + # enable docker, virtualbox, virtualization shit + virtualisation.docker.enable = true; + virtualisation.virtualbox.host.enable = true; + virtualisation.virtualbox.host.enableExtensionPack = true; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.josiah = { isNormalUser = true; - extraGroups = [ "wheel" "audio" "sound" "video"]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "audio" "sound" "video" "docker" "vboxusers"]; }; # This value determines the NixOS release from which the default