about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* modules/i3: Allow to set a network timeout.aszlig2015-01-272-2/+19
| | | | | | | | For the primary network interface that is going to be displayed in the status bar, it's a good idea to have a timeout value. I'm sitting in the train right now and it's annoying to *not* have a working status bar. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* git: Add mercurial/bazaar bridge.aszlig2014-12-311-0/+1
| | | | | | | | Especially useful if you want to patch a bunch of applications and don't want to either search for an up-to-date Git mirror or even being forced to use Mercurial. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* packages: Move gitAndTools.hub into git module.aszlig2014-12-311-1/+4
| | | | | | We don't want packages.nix to grow too big, do we? ;-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* zsh: Set window title to command if using xterm.aszlig2014-12-081-0/+12
| | | | | | | Having a shitton of xterms open can get quite confusing at some point, so let's make this easier by providing a sane title. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* zsh: Remove obsolete environment variables.aszlig2014-12-081-2/+0
| | | | | | | | | | | My old audioserver (nasd) doesn't exist anymore since years, so let's drop that stuff for now, especially because nowadays I'd probably use pulseaudio or jack. The SCUMMVM_PORT is only used for MIDI output, but if I should get back to using ScummVM again, I'd probably patch the port into it directly. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/zsh: Fix formatting and check for enable.aszlig2014-11-201-4/+6
| | | | | | | We don't want to have the zsh module active for _all_ machines, only for warkstations. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add "git" module for system-wide config.aszlig2014-11-202-0/+69
| | | | | | | Allows to declaratively specify the Git configuration options using nested attribute sets. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* zsh: Move into its own module.aszlig2014-11-192-0/+95
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Integrate console lock screen into i3.aszlig2014-11-052-0/+9
| | | | | | | Now it's enough to just press super + shift + escape in order to trigger the socket and thus the lock screen. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add "fancy" vlock-based lock screen.aszlig2014-11-054-0/+88
| | | | | | | | | | Unfortunately it's only "fancy" in quotes because the way it's activated is using a dummy socket file with the user "aszlig" hardcoded at the moment. In terms of security it isn't a problem, because vlock is using PAM for authentication and it falls back to authenticating against the root user. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/slim: Don't set defaultUser anymore.aszlig2014-10-211-1/+0
| | | | | | | I find this annoying, especially if you want to reboot and have to delete the default user first. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common-workstation: Move SLiM stuff into a module.aszlig2014-10-212-0/+45
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Fix evaluation of workspaces submodule.aszlig2014-09-101-1/+1
| | | | | | | Didn't look into it in detail, but the submodule type no longer seems to accept module paths directly. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Really reverse the output of the bars.aszlig2014-08-051-4/+5
| | | | | | | | If using config.vuizvui.i3.reverseHeads we so far only reversed the position in the config file, but actually forgot about reversing the real outputs. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Apply reverseHeads option to bar config.aszlig2014-08-041-8/+10
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Check whether configuration file is valid.aszlig2014-08-021-0/+4
| | | | | | | | | | | Finally, after going through quite some journey, we can now check the config file without needing an X connection. The journey took a bit longer, because I was stubborn enough to get the test suite running on Nix (because I wanted to have an upstream test case for this). All that to create a small patch which just checks that damn config file and emits an exit code that actually reflects the output :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Stringify bar config for inner heads.aszlig2014-08-011-1/+1
| | | | | | Fixes evaluation for mmrnmhrm and dnyarri. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Fix generating config for a single head.aszlig2014-08-011-2/+3
| | | | | | | If there is only one head, we don't need any "workspace" command in the i3 configuration file, so let's omit it entirely. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Use Nix expressions to generate status bars.aszlig2014-08-012-47/+33
| | | | | | | | We might break the dnyarri/mmrnmhrm setup here, but it is mainly for getting rid of the hack to match networking.hostName for a particular node in order to swap heads. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Add a new "single" layout.aszlig2014-08-011-0/+13
| | | | | | | This is for machines that don't have multiple heads attached, such as arilou or kzerza. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Don't even try to use X for output.aszlig2014-08-011-0/+1
| | | | | | I've already disabled most output types, but just to be sure. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Include modules using module-list.aszlig2014-08-012-1/+6
| | | | | | | This also means that we now have to explicitly enable a certain feature, such as vuizvui.i3 (which is the only module right now). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Change namespaces into new project name "vuizvui".aszlig2014-07-291-4/+4
| | | | | | | | | | | | | | | | | | I found "nixconf" a little big too generic and thus not unlikely enough to someday collide with something in <nixpkgs>. That's why I chose the name "vuizvui" as a Bavarion word (actually _two_ words: "vui zvui") for "far too much", in terms of the opposite of "nix" - which means "nothing". A possible downside for choosing this name is that it might be jawbreaker to some English native speakers out there, but I don't really care if the pronunciation is correct nor do I expect to get a lot of public attention on this repository. And yes, for English native speakers, a pronunciation like "fui-tsui" is probably okay as well :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Allow to work only with a single head.aszlig2014-07-251-4/+7
| | | | | | | | This is very ugly and just to be taken as a workaround because the i3 status line will be completely messed up. The main reason for doing this is that the config will evaluate with a single head. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Reverse head assignment for dnyarri.aszlig2014-07-161-1/+12
| | | | | | | | This is because of a limitation of Synergy not being able to cope with multihead assignments. At least not at the time I have implemented it at first, so might be worth to check if it has improved in the meantime. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Make workspace 10 reachable by the 0 key.aszlig2014-07-161-1/+1
| | | | | | There is no "10" key on most keyboards. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Add NixOS options to configure workspaces.aszlig2014-07-143-58/+160
| | | | | | | | | | | This allows for a more dynamic workspace assignments, especially when varying between the number of heads. We now not only can use the NixOS module system to set workspaces but also assign applications to them. And the default workspace layout is to evenly spread out the heads among the available heads. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Move Chromium to workspace 6 on dnyarri.aszlig2014-07-141-2/+2
| | | | | | | This is because I've swapped screens and that wsConfig isn't nice, so we need to refactor it very soon. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Auto-detect primary ethernet interface.aszlig2014-07-141-3/+9
| | | | | | | This is done by determining the route to Google's DNS server (8.8.8.8) and if it's not found, we're going to wait until it becomes available. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Autodetect CPU load and temperature.aszlig2014-05-021-24/+27
| | | | | | | | Device ordering is something that can vastly differ from system to system, so we're detecting the available CPUs on conky startup and pass the corresponding hwmon/cpu expressions to -t. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Factor out conky configuration for i3bar.aszlig2014-05-023-21/+97
| | | | | | | | Now we're generating full conky config files and we now have a new conky.nix, which generates shell scripts for the left and right screens, that run conky with the right configuration files. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move i3 configuration into its own module.aszlig2014-05-022-0/+245
We want to keep common.nix nice and clean and in the long term the whole config should be more modular. Signed-off-by: aszlig <aszlig@redmoonstudios.org>