about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/aszlig/managed/brawndo.nix104
-rw-r--r--machines/default.nix1
2 files changed, 105 insertions, 0 deletions
diff --git a/machines/aszlig/managed/brawndo.nix b/machines/aszlig/managed/brawndo.nix
new file mode 100644
index 00000000..21aec718
--- /dev/null
+++ b/machines/aszlig/managed/brawndo.nix
@@ -0,0 +1,104 @@
+{ pkgs, unfreeAndNonDistributablePkgs, lib, ... }:
+
+let
+  mainDisk = "ata-WDC_WD5000LPVX-22V0TT0_WD-WXG1E2559AYH";
+  rootUUID = "dbbd5a35-3ac0-4d5a-837d-914457de14a4";
+
+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/${mainDisk}";
+  };
+
+  fileSystems."/" = {
+    device = "/dev/disk/by-uuid/${rootUUID}";
+    fsType = "btrfs";
+    options = [ "compress=zlib" "space_cache" "noatime" ];
+  };
+
+  fileSystems."/boot" = {
+    device = "/dev/disk/by-uuid/534F-980B";
+    fsType = "vfat";
+  };
+
+  hardware = {
+    enableAllFirmware = true;
+    opengl.s3tcSupport = true;
+    pulseaudio.enable = true;
+  };
+
+  networking = {
+    firewall.enable = false;
+    hostName = "brawndo";
+    networkmanager.enable = true;
+  };
+
+  nix.maxJobs = 4;
+
+  nixpkgs.config = {
+    chromium.enablePepperFlash = true;
+    pulseaudio = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    chromium
+    file
+    gajim
+    gimp
+    git
+    htop
+    kde5.gwenview
+    kde5.okular
+    libreoffice
+    miro
+    mpv
+    opentyrian
+    pavucontrol
+    pulseaudioFull
+    samba
+    unfreeAndNonDistributablePkgs.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;
+    printing.drivers = [ pkgs.gutenprint pkgs.hplip pkgs.cups-bjnp ];
+    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";
+
+  users.users.dwenola = {
+    isNormalUser = true;
+    uid = 1000;
+    extraGroups = [ "video" "wheel" "networkmanager" ];
+  };
+
+  vuizvui.user.aszlig.programs.vim.enable = true;
+  vuizvui.enableGlobalNixpkgsConfig = true;
+}
diff --git a/machines/default.nix b/machines/default.nix
index 598c9b7d..2d99ddaa 100644
--- a/machines/default.nix
+++ b/machines/default.nix
@@ -8,6 +8,7 @@ with import ../lib;
     kzerza    = callMachine ./aszlig/kzerza.nix {};
     tishtushi = callMachine ./aszlig/tishtushi.nix {};
     managed = {
+      brawndo = callMachine ./aszlig/managed/brawndo.nix {};
       notsure = callMachine ./aszlig/managed/notsure.nix {};
       tyree   = callMachine ./aszlig/managed/tyree.nix {};
     };