about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* aszlig/kernel: Remove leftover grub devices.aszlig2015-04-011-5/+0
| | | | | | | Installing the GRUB bootloader to non-existing devices of mmrnmhrm to for example dnyarri is not going to help anyone, right? ;-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* conky: Fix argument for weatherMetar support.aszlig2015-03-311-1/+1
| | | | | | This was renomed in NixOS/nixpkgs@8591b7b. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* mainlineKernel: Update to version 4.0.0-rc5.aszlig2015-03-291-3/+3
| | | | | | | Stress over the last few days affected my machines being not up-to-date anymore. This has to change! Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add new multipath-vpn service module.aszlig2015-03-182-0/+247
| | | | | | | | | This is for @richi235 only, but the module is generic enough to be included in the top-level modules. I highly doubt that anyone else would have a use for this, at least until we have replaced the module with a kernel space variant of the same. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move last machine from labernix to vuizvui.aszlig2015-03-182-0/+66
| | | | | | | | | | | | I've moved the restrictions config of Postfix into the default module for now and actually fixed it so that it's actually working (the config value wasn't set before). Also, the option type was incorrectly set to types.list, which aliases to types.listOf and expects another function (kind) as its argument. This marks the end of LaberNix and the beginning of a new Vuizvui! Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Refactor overrides into my base profile.aszlig2015-03-187-9/+51
| | | | | | | | | | | | | | | | | Just moving the overrides into the base profile isn't enough here, as we wouldn't be able to refer to packages anymore, because the global nixpkgs.config override is now gone. Instead, we're now putting pkgs.vuizvui.* into the NixOS module system by a new profiles/common.nix, which is used unconditionally for all machines. Of course, the result of this is that we now need to change all references to vuizvui-related packages, which also is a good thing, because we will no longer shadow existing packages from upstream nixpkgs. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move kernel source into the "kernel" NixOS module.aszlig2015-03-181-1/+10
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move mpv override into its own program module.aszlig2015-03-184-1/+26
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move zsh override into my zsh module.aszlig2015-03-181-0/+8
| | | | | | | | Unfortunately, we can't just explicitely override the zsh package and refer to it in systemPackages, so we need to override it using nixpkgs.config. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/profiles: Move zsh config into "base".aszlig2015-03-182-2/+1
| | | | | | | | | | I want to have a useful zsh configuration on all of my machines, so let's not only enable it for the workstation profile. Also, this removes a redundant zsh reference in the systemPackages of the base profile. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Refactor own Vim version into its own module.aszlig2015-03-183-1/+346
| | | | | | | | | | Gets rid of my own crap in the vuizvui pkgs namespace and makes it easier for other users to selectively use my Vim configuration. It's still not as fleshed out as I wish it would be, but let's do that later if needed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* lib: Refactor kernel configuration into a module.aszlig2015-03-182-0/+54
| | | | | | | | | | | | | | This means, we don't have that lib directory anymore and also we're not doing text substitution on the kernel config but instead override the original attributes. However, this needs to be refactored even further, so we can use the NixOS kernel system, which allows for certain modules to require specific kernel features. That way we can automatically create a kernel config from the list of required features and we only need to set a specific base config instead of specifying the *full* kernel config. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules/README: Introduce a new "system" category.aszlig2015-03-181-0/+4
| | | | | | | | On upstream nixpkgs we have "system" and "hardware" but in our case the amount of modules should be rather small, so it doesn't make sense to separate those categories. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Refactor Gajim config + patches into a module.aszlig2015-03-186-1/+873
| | | | | | | | Now we no longer pollute the repository root with Gajim (for example in cfgfiles/) and it's also easier to enable/disable my personal Gajim config among my own machines. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/workstation: Use package.nix as a list.aszlig2015-03-182-101/+95
| | | | | | | | | Using package.nix as a module would mean that we would need to check for the workstation profile in there again, so let's just make it a list and import it from the default.nix where we only once check whether the profile is enabled. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* packages.nix: Move into the workstation profile.aszlig2015-03-183-2/+100
| | | | | | | | The profile is now a directory with a default.nix, which makes it more managable without shovelling the whole packages.nix into the profile module. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move common{-workstation}.nix into profiles.aszlig2015-03-183-1/+219
| | | | | | | | | | | | Both files are specific to my machines only and need to be generalized in order to be useful for anyone else. Moving these files has a few other censequences, such that we now need to automatically import the module-list.nix in callMachine. Speaking of module-list.nix, the file is now alphabetically sorted. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Move my modules into category dirs.aszlig2015-03-1811-5/+5
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Properly namespace module attributes.aszlig2015-03-185-16/+28
| | | | | | | | So far the modules were still using the old naming scheme of vuizvui.name where name is the corresponding module name directly instead of the category. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Move own stuff into modules/user/aszlig.aszlig2015-03-1811-5/+5
| | | | | | | Some modules might be generic enough to be included in modules/ directly, but for now, let's just get them out of the way. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add a small README about contribution.aszlig2015-03-181-0/+34
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* 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>