about summary refs log tree commit diff
path: root/common.nix
Commit message (Collapse)AuthorAgeFilesLines
* mmrnmhrm: Switch over to "new" (old) hardware.aszlig2014-06-031-1/+0
| | | | | | | | | | | | | | | | | | | | Unfortunately, the main board has died so I needed to quickly assembly a replacement machine. I haven't found a compatible main board for the last set of hardware so the "new" machine is now a Core 2 Duo with only 2 GB of RAM. I'm looking forward to more frustrations during build I already had with the i7 I had previously. Also, all these changes are untested for now, because I'm still shoveling the btrfs filesystems to two new hard disks, because the new mainboard only has 2 SATA ports. At the moment the GRUB bootloader is still on the old disk and as soon as the data is on the new disks, the GRUB install devices will change as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move i3 configuration into its own module.aszlig2014-05-021-54/+2
| | | | | | | 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>
* Rename fonts.extraFonts to fonts.fonts.aszlig2014-05-021-1/+1
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Disable packet filter for all machines.aszlig2014-04-221-0/+1
| | | | | | | | | | | | Enabling netfilter, especially connection tracking modules add unnecessary complexity to the systems. So I really don't want to increase the attack surface of the machine because of that. Just close the ports you don't need and listen locally for stuff that doesn't need to be public and we don't really need to have netfilter enabled. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Set now option programs.ssh.startAgent.aszlig2014-04-211-1/+2
| | | | | | The old option services.xserver.startOpenSSHAgent is now obsolete. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* collections: Sort package lists by name.aszlig2014-03-171-1/+1
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* collections: Add common packages from user env.aszlig2014-03-171-0/+1
| | | | | | | | I'm not using all of them in a regular basis, but some packages such as Gimp really need a ton of time to build, so let's build them on our Hydra. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* dnyarri/mmrnmhrm: Enable zwap functionality.aszlig2014-03-161-0/+2
| | | | | | | | | It's an experimental feature but hey... my machines are constantly swapping anyway and I love finding new bugs in zswap. So let's go ahead :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Renome services.mesa to hardware.opengl.aszlig2014-03-161-5/+4
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* extraUsers.aszlig: Don't use isSystemUser.aszlig2014-02-081-1/+1
| | | | | | | This attribute is now deprecated and we now statically assign uid 1000 for this user. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move a few attributes from "xserver" to "mesa".aszlig2014-02-081-3/+5
| | | | | | | The attributes driSupport32Bit, s3tcSupport and videoDrivers are now no longer in services.xserver and now reside in services.mesa. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Switch displayManager to lightdm.aszlig2013-10-291-4/+2
| | | | | | Just a try as of now, not sure whether I'll get used to it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Rename environment.nix to nix.package.aszlig2013-10-291-1/+1
| | | | | | This is because environment.nix is now obsolete in current <nixpkgs>. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Enable S3TC by default in xserver.aszlig2013-10-201-0/+1
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Fix path to VirtualBox program module.aszlig2013-10-201-1/+1
| | | | | | This is needed to cope with the nixos -> nixpkgs merge. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Add user aszlig to group "video".aszlig2013-09-061-1/+1
| | | | | | This is needed for write access to DRI devices. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Enable audio controls using pvolctrl.aszlig2013-08-291-1/+1
| | | | | | | Since I use the new typematrix keyboard everywhere, which has audio control keys, why not use them? Hereby done :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Swap heads for workspaces on dnyarri.aszlig2013-08-151-0/+7
| | | | | | | | This is because of the somewhat weird Synergy configuration, which I did because it couldn't map the heads correctly to the configured layout. I haven't checked whether this still is the case, but until that this workaround will do it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Allow to specify primary network interface.aszlig2013-08-151-0/+2
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Do workspace assignment based on machine.aszlig2013-08-151-2/+15
| | | | | | | | For example on dnyarri I only have the browser running on workspace 1 and the XMPP client is running on another machine. These names are now generated from a list of workspace names according to the respective machine name. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Add i3 config to system configuration.aszlig2013-08-141-1/+27
| | | | | | | | | | | This now embeds the i3 configuration file directly into the X session using the new option introduced by NixOS/nixos@9392329. The config file itself is not yet cleaned up and there is still quite a lot of cruft left over from my Debian system, but let's clean it up later. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Add redshift to X session.aszlig2013-08-141-0/+4
| | | | | | | After trying it for some time, I just decided it to be the default from now on, let the world turn RED :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Enable 32 bit DRI modules for X server.aszlig2013-06-071-0/+2
| | | | | | Some proprietary vendors still don't provide amd64 versions for their software. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Add fixed axbo SPAC udev device name rule.aszlig2013-05-191-0/+5
| | | | | | | | This is useful in order to set the device symlink to /dev/axbo and to ensure that the owner is user "aszlig" (maybe this should be a group called axbo? but we can change that later) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Remove obsolete attr services.pulseaudio.aszlig2013-04-131-2/+0
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Add binutils to system environment.aszlig2013-01-141-0/+1
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common.nix: Start GnuPG agent by default.aszlig2013-01-091-0/+3
| | | | | | | I still don't see the reason to start the OpenSSH agent by default, because GnuPG has SSH agent support built-in as well. So, let's disable the SSH agent. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common.nix: Add a few more system-wide packages.aszlig2013-01-091-3/+10
| | | | | | | | I use things like compression tools, psmisc (esp. fuser), file, vlock and htop as other users (well, "root" comes in mind ;-) as well, so it makes sense to make it available system-wide. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common.nix: Add user "aszlig" by default.aszlig2013-01-091-0/+11
| | | | | | | This is especially useful in case someone wants to build the system from scratch and doesn't remember group memberships anymore. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add nixpkgs/config.nix to common.nix.aszlig2012-11-261-8/+1
| | | | | | | | | This finally results in a consistent nixpkgs configuration among all machines and regardless of system env and user env. The config.git expression is no longer needed, as I'm using gitFull anyway. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move common NixOS expressions into common.nix.aszlig2012-11-261-0/+148
This should at least clean up some of this mess and only hardware and filesystem specific stuff should now endup within the respective machine expressions. Signed-off-by: aszlig <aszlig@redmoonstudios.org>