about summary refs log tree commit diff
path: root/machines/aszlig/kzerza.nix
Commit message (Collapse)AuthorAgeFilesLines
* Use users.users/users.groups instead of extra*aszlig2016-02-151-2/+2
| | | | | | | It has been renamed since months (NixOS/nixpkgs@14321ae) and users.extra* are now just aliases to users.users and users.groups. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines/aszlig: Use lists for filesystem optionsaszlig2016-02-151-2/+2
| | | | | | | | | We had this since NixOS/nixpkgs@3c5fca9 and since the merge of master into closure-size (NixOS/nixpkgs@d039c87) we also have it there, so there is no excuse now to not switch to lists, especially because we already used concatStringsSep on lists anyway. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* kzerza: Enable building it as an ISO image.aszlig2015-08-131-0/+1
| | | | | | | | We only really need an ISO image for kzerza, as mentioned in the previous commit, because that's the one that's really dd'ed onto an USB stick. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* kzerza: Restart GrandPA on failure.aszlig2015-06-291-0/+1
| | | | | | | | We don't want the ExecStopPost action to run whenever GrandPA exits with a failure state, because this would make debugging very nasty ("Noooo, don't shut doooooooow... DAMN!"), especially on read-only media. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* kzerza: Power off system when GrandPA stops.aszlig2015-06-291-0/+2
| | | | | | | | | | | | This was the behaviour back then when NixOS still used upstart and after some searching I found that ExecStopPost is what we want here, despite its name (I'd imply that it is used in parts to stop the service rather than executed after the service has stopped). So in turn, it means that using Ctrl-Q within GrandPA shuts down the whole system. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* kzerza: Enable GPM by default.aszlig2015-06-291-0/+3
| | | | | | | | | | This has been enabled before, but got lost while refactoring my base profile in fb1ddce32989fdea137f2b225ae4c24d2badf3a4. It is okay to have it only in the workstation profile, but if it comes to kzerza, the GrandPA application depends on it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Refactor overrides into my base profile.aszlig2015-03-181-1/+1
| | | | | | | | | | | | | | | | | 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 common{-workstation}.nix into profiles.aszlig2015-03-181-1/+1
| | | | | | | | | | | | 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>
* machines: Move own machines into machines/aszlig.aszlig2015-03-181-0/+64
Introduces callMachine in machines/default.nix, which returns an attribute set containing the (input) configuration and also a build attribute containing the output configuration and thus also the builds. However, we still have references to ../../common-workstation.nix which we need to refactor very soon. Signed-off-by: aszlig <aszlig@redmoonstudios.org>