about summary refs log tree commit diff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* mainlineKernel: Update to latest upstream master.aszlig2015-04-111-2/+2
| | | | | | | Fast-forward for 23 commits, which include fixes for sound, pci, pm-sleep and nios2. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* mainlineKernel: Update to version 4.0.0-rc7.aszlig2015-04-091-3/+3
| | | | | | Plus 30 commits more (akpm, drm-fixes, media-fixes). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* services/i3: Fix override of default workspaces.aszlig2015-04-081-8/+9
| | | | | | | | | | By default, there are 10 workspaces defined and since the module system changes, we need to assign default priorities to all values instead of the full attribute set, because whenever there is an override of the default, the whole attrset is replaced by the override instead of just the values. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Remove references to pkgs.lib within modules.aszlig2015-04-042-3/+3
| | | | | | | | We now no longer can (or even should) refer to pkgs.lib within modules since the merge of the module system improvements in NixOS/nixpkgs@889f72b. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/workstation: Disable KSM again.aszlig2015-04-031-1/+0
| | | | | | | | | | | | | | | | | | | | I wanted to use it for my countless XTerms, so I patched xterm+zsh to use madvise() with MADV_MERGEABLE on every allocation and the results weren't *that* bright: pages_shared: 83 pages_sharing: 1498 pages_unshared: 942 pages_volatile: 1 With 20 terminals, so roughly 5.85 MB "saved" and ~9 for 120 instances. That really isn't worth the CPU overhead, thus I'm turning it off again. So, I need a better strategy to support my habit of running hundreds of terminals (or better: shells, because that's really what's actually eating up my RAM). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Revert new system module to enable KSM.aszlig2015-04-013-23/+1
| | | | | | | | This reverts commit fc53a72f48ae6b567e7bf9901a2bd3657853633c. Applied upstream at NixOS/nixpkgs@224ed7e. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* mainlineKernel: Update to version 4.0.0-rc6.aszlig2015-04-011-3/+3
| | | | | | | | | | They're just a few commits from 7fc377e..6c310bc and 24 changed files, with 156 insertions and 93 deletions, so this really isn't necessary, but I want to have that -rc6 instead of -rc5. Actually, this isn't really -rc6 anyway, but -rc6 plus 9 more commits. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* aszlig/workstation: Enable KSM by default.aszlig2015-04-011-0/+2
| | | | | | | | I can't stand it anymore when my excessive use of "lots of xterms" is getting my machines into the need to use swapspace. The last time one of my machines got to a crawl was with >300 open xterms. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Add a new system module to enable KSM.aszlig2015-04-012-0/+21
| | | | | | | | This is very useful if you're running a lot of the same instances of particular applications. For example virtual machines or even lots of terminals. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* 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>