summaryrefslogtreecommitdiffstats
path: root/tv/1systems/alnus.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-06 21:47:47 +0200
committertv <tv@krebsco.de>2017-07-10 11:05:48 +0200
commit112a652a9866d18263790ce5232459d4abf042b6 (patch)
treee953f148307fe2f1692c4925302a81515a2eaa39 /tv/1systems/alnus.nix
parent585c3f70f1f8fe07b977524375244ab6d1953219 (diff)
move source config from module system to 1systems/*/source.nix
Diffstat (limited to 'tv/1systems/alnus.nix')
-rw-r--r--tv/1systems/alnus.nix96
1 files changed, 0 insertions, 96 deletions
diff --git a/tv/1systems/alnus.nix b/tv/1systems/alnus.nix
deleted file mode 100644
index ef2a050..0000000
--- a/tv/1systems/alnus.nix
+++ /dev/null
@@ -1,96 +0,0 @@
-{ config, pkgs, ... }:
-
-with import <stockholm/lib>;
-
-{
- imports = [
- ../.
- ../2configs/hw/x220.nix
- ../2configs/exim-retiolum.nix
- ../2configs/retiolum.nix
- ];
-
- # TODO remove non-hardware stuff from ../2configs/hw/x220.nix
- # networking.wireless.enable collides with networkmanager
- networking.wireless.enable = mkForce false;
-
- boot = {
- initrd = {
- availableKernelModules = [ "ahci" ];
- luks = {
- cryptoModules = [ "aes" "sha512" "xts" ];
- devices = [ { name = "luksroot"; device = "/dev/sda2"; } ];
- };
- };
- };
-
- environment.systemPackages = with pkgs; [
- chromium
- firefoxWrapper
- networkmanagerapplet
- pidginotr
- pidgin-with-plugins
- ];
-
- fileSystems = {
- "/boot" = {
- device = "/dev/sda1";
- };
- "/" = {
- device = "/dev/mapper/main-root";
- fsType = "btrfs";
- options = [ "defaults" "noatime" ];
- };
- "/home" = {
- device = "/dev/mapper/main-home";
- fsType = "btrfs";
- options = [ "defaults" "noatime" ];
- };
- };
-
- hardware = {
- opengl.driSupport32Bit = true;
- pulseaudio.enable = true;
- };
-
- i18n.defaultLocale = "de_DE.UTF-8";
-
- krebs.build = {
- host = config.krebs.hosts.alnus;
- user = mkForce config.krebs.users.dv;
- source.nixpkgs.git.ref = mkForce "9b948ea439ddbaa26740ce35543e7e35d2aa6d18";
- };
-
- networking.networkmanager.enable = true;
-
- nixpkgs.config = {
- allowUnfree = true;
- };
-
- services.xserver = {
- enable = true;
- layout = "de";
- xkbOptions = "eurosign:e";
- synaptics = {
- enable = true;
- twoFingerScroll = true;
- };
- desktopManager.xfce.enable = true;
- displayManager.auto = {
- enable = true;
- user = "dv";
- };
- };
-
- swapDevices =[ ];
-
- users.users.dv = {
- inherit (config.krebs.users.dv) home uid;
- isNormalUser = true;
- extraGroups = [
- "audio"
- "video"
- "networkmanager"
- ];
- };
-}