about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-12-10 01:48:12 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-12-10 01:48:12 +0100
commit547306d8924961814cab2c65be53457f715c2454 (patch)
tree638b333e8fc0a425f1f6c4a13cb1753598334b84 /machines/aszlig
parent8a63962a35768f52b416dd6cd4fc8f78bb34ae95 (diff)
machines: Add a new managed machine "notsure".
I've added a "managed" namespace here, which should include all machines
that are not my own but I manage for other people.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/managed/notsure.nix88
1 files changed, 88 insertions, 0 deletions
diff --git a/machines/aszlig/managed/notsure.nix b/machines/aszlig/managed/notsure.nix
new file mode 100644
index 00000000..910010e3
--- /dev/null
+++ b/machines/aszlig/managed/notsure.nix
@@ -0,0 +1,88 @@
+{ pkgs, lib, ... }:
+
+let
+  rootUUID = "ata-WDC_WD7500BPVT-22HXZT3_WD-WX71A9124879";
+
+in {
+  boot = {
+    initrd.availableKernelModules = [ "ehci_pci" "ahci" ];
+    kernelPackages = pkgs.linuxPackages_latest;
+    loader.grub.enable = true;
+    loader.grub.version = 2;
+    loader.grub.device = "/dev/disk/by-id/${rootUUID}";
+  };
+
+  fileSystems."/" = {
+    label = "root";
+    fsType = "btrfs";
+    options = "rw,space_cache,relatime";
+  };
+
+  hardware = {
+    enableAllFirmware = true;
+    opengl.s3tcSupport = true;
+    pulseaudio.enable = true;
+  };
+
+  networking = {
+    firewall.enable = false;
+    hostName = "notsure";
+    networkmanager.enable = true;
+  };
+
+  nix.maxJobs = 2;
+
+  nixpkgs.config = {
+    allowUnfree = true;
+    chromium.enablePepperFlash = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    chromium
+    file
+    gajim
+    gimp
+    git
+    htop
+    libreoffice
+    miro
+    mpv
+    opentyrian
+    pavucontrol
+    pulseaudioFull
+    samba
+    skype
+    thunderbird
+    vuizvui.tomahawk
+    wine
+    xpdf
+    youtubeDL
+  ];
+
+  i18n = {
+    consoleFont = "lat9w-16";
+    consoleKeyMap = "de";
+    defaultLocale = "en_US.UTF-8";
+  };
+
+  services = {
+    deluge.enable = true;
+    printing.enable = true;
+    tlp.enable = true;
+
+    xserver = {
+      enable = true;
+      layout = "de";
+      xkbOptions = "eurosign:e";
+
+      displayManager.kdm.enable = true;
+      desktopManager.kde5.enable = true;
+    };
+  };
+
+  swapDevices = lib.singleton { label = "swap"; };
+
+  time.timeZone = "Europe/Berlin";
+
+  vuizvui.user.aszlig.programs.vim.enable = true;
+}