From 6f938a76048aad89d780dc9003594a54e75d7918 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 18 Jun 2018 17:12:26 -0700 Subject: [PATCH] [NixOS] Various tweaks --- nixos/configuration.nix | 9 +++++++-- nixos/games.nix | 7 +++++++ nixos/machines/imalison-home.nix | 1 + 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 nixos/games.nix diff --git a/nixos/configuration.nix b/nixos/configuration.nix index f8e80308..9f852552 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -69,6 +69,9 @@ let --prefix PATH : "${wrapperPath}" ''; }; + pasystray-appindicator = with pkgs; pasystray.overrideAttrs (oldAttrs: rec { + buildInputs = oldAttrs.buildInputs ++ [libappindicator-gtk3]; + }); in { nixpkgs.config.allowUnfree = true; @@ -121,9 +124,9 @@ in hexchat keybase-gui kodi + lxappearance rxvt_unicode spotify - steam termite vlc xfce.thunar @@ -134,14 +137,17 @@ in hicolor-icon-theme plasma5.breeze-gtk plasma5.breeze-qt5 + gnome-breeze # Desktop + # haskellPackages.status-notifier-item autorandr clipit-master compton feh gnome3.gpaste networkmanagerapplet + pasystray-appindicator pinentry pommed_light rofi @@ -151,7 +157,6 @@ in volnoti xclip xdotool - # haskellPackages.status-notifier-item xorg.xkbcomp xsettingsd diff --git a/nixos/games.nix b/nixos/games.nix new file mode 100644 index 00000000..ae5e5dff --- /dev/null +++ b/nixos/games.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + steam + ]; + boot.extraModulePackages = with pkgs; [ xboxdrv ]; +} diff --git a/nixos/machines/imalison-home.nix b/nixos/machines/imalison-home.nix index 83be237d..74ea182e 100644 --- a/nixos/machines/imalison-home.nix +++ b/nixos/machines/imalison-home.nix @@ -4,6 +4,7 @@ imports = [ ../configuration.nix + ../games.nix ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];