Minor refactors, reformatting & comment revision
This commit is contained in:
parent
ff425f9a40
commit
a12c05b78f
|
@ -6,7 +6,8 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
my.packages = with pkgs; [
|
my.packages = with pkgs; [
|
||||||
firefox-bin (pkgs.writeScriptBin "firefox-private" ''
|
firefox-bin
|
||||||
|
(pkgs.writeScriptBin "firefox-private" ''
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
${firefox}/bin/firefox --private-window "$@"
|
${firefox}/bin/firefox --private-window "$@"
|
||||||
'')
|
'')
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
exec = "${qutebrowser}/bin/qutebrowser ':open -p'";
|
exec = "${qutebrowser}/bin/qutebrowser ':open -p'";
|
||||||
categories = "Network";
|
categories = "Network";
|
||||||
})
|
})
|
||||||
|
|
||||||
];
|
];
|
||||||
my.env.BROWSER = "qutebrowser";
|
my.env.BROWSER = "qutebrowser";
|
||||||
my.home.xdg = {
|
my.home.xdg = {
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# modules/graphics.nix
|
# modules/graphics.nix
|
||||||
#
|
#
|
||||||
# The hardest part about switching to linux was sacrifices adobe. It is so bad I
|
# The hardest part about switching to linux? Sacrificing Adobe. It really is
|
||||||
# have a second computer dedicated to adobe (and gaming). Still, I can still
|
# difficult to replace and its open source alternatives don't *quite* cut it,
|
||||||
# manage half of my design work on open source alternatives.
|
# 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, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
my.alias.mpcs = "mpc search any";
|
my.alias.mpcs = "mpc search any";
|
||||||
my.alias.mpcsp = "mpc searchplay 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 = {
|
my.home.xdg.configFile = {
|
||||||
"ncmpcpp/config".source = <config/ncmpcpp/config>;
|
"ncmpcpp/config".source = <config/ncmpcpp/config>;
|
||||||
"ncmpcpp/bindings".source = <config/ncmpcpp/bindings>;
|
"ncmpcpp/bindings".source = <config/ncmpcpp/bindings>;
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
my = {
|
my = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# The developer of tmux chooses not to add XDG support for religious
|
# The developer of tmux chooses not to add XDG support for religious
|
||||||
# reasons (see tmux/tmux#142). Fortunately, nix offers a simple
|
# reasons (see tmux/tmux#142). Fortunately, nix makes this easy:
|
||||||
# workaround:
|
|
||||||
(writeScriptBin "tmux" ''
|
(writeScriptBin "tmux" ''
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
exec ${tmux}/bin/tmux -f "$TMUX_HOME/config" "$@"
|
exec ${tmux}/bin/tmux -f "$TMUX_HOME/config" "$@"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{
|
{
|
||||||
virtualisation.virtualbox.host = {
|
virtualisation.virtualbox.host = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableExtensionPack = true;
|
enableExtensionPack = true; # urg, takes so long to build
|
||||||
};
|
};
|
||||||
|
|
||||||
my.user.extraGroups = [ "vboxusers" ];
|
my.user.extraGroups = [ "vboxusers" ];
|
||||||
|
|
Loading…
Reference in a new issue