Minor refactors, reformatting & comment revision

This commit is contained in:
Henrik Lissner 2020-01-23 18:58:53 -05:00
parent ff425f9a40
commit a12c05b78f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 10 additions and 8 deletions

View file

@ -6,7 +6,8 @@
{ config, lib, pkgs, ... }:
{
my.packages = with pkgs; [
firefox-bin (pkgs.writeScriptBin "firefox-private" ''
firefox-bin
(pkgs.writeScriptBin "firefox-private" ''
#!${stdenv.shell}
${firefox}/bin/firefox --private-window "$@"
'')

View file

@ -19,7 +19,6 @@
exec = "${qutebrowser}/bin/qutebrowser ':open -p'";
categories = "Network";
})
];
my.env.BROWSER = "qutebrowser";
my.home.xdg = {

View file

@ -1,8 +1,9 @@
# modules/graphics.nix
#
# The hardest part about switching to linux was sacrifices adobe. It is so bad I
# have a second computer dedicated to adobe (and gaming). Still, I can still
# manage half of my design work on open source alternatives.
# The hardest part about switching to linux? Sacrificing Adobe. It really is
# difficult to replace and its open source alternatives don't *quite* cut it,
# but enough that I can do a fraction of it on Linux. For the rest I have a
# second computer dedicated to design work (and gaming).
{ config, lib, pkgs, ... }:
{

View file

@ -12,6 +12,8 @@
my.alias.mpcs = "mpc search any";
my.alias.mpcsp = "mpc searchplay any";
# Symlink these one at a time because ncmpcpp writes other files to
# ~/.config/ncmpcpp, so it needs to be writeable.
my.home.xdg.configFile = {
"ncmpcpp/config".source = <config/ncmpcpp/config>;
"ncmpcpp/bindings".source = <config/ncmpcpp/bindings>;

View file

@ -4,8 +4,7 @@
my = {
packages = with pkgs; [
# The developer of tmux chooses not to add XDG support for religious
# reasons (see tmux/tmux#142). Fortunately, nix offers a simple
# workaround:
# reasons (see tmux/tmux#142). Fortunately, nix makes this easy:
(writeScriptBin "tmux" ''
#!${stdenv.shell}
exec ${tmux}/bin/tmux -f "$TMUX_HOME/config" "$@"

View file

@ -7,7 +7,7 @@
{
virtualisation.virtualbox.host = {
enable = true;
enableExtensionPack = true;
enableExtensionPack = true; # urg, takes so long to build
};
my.user.extraGroups = [ "vboxusers" ];