From 2b8256b060f1c2fd635e92749d167d9a57268212 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 18 Mar 2015 01:37:41 +0100 Subject: machines: Move own machines into machines/aszlig. 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 --- machines/arilou.nix | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 machines/arilou.nix (limited to 'machines/arilou.nix') diff --git a/machines/arilou.nix b/machines/arilou.nix deleted file mode 100644 index 08f3e370..00000000 --- a/machines/arilou.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ config, pkgs, ... }: - -with pkgs.lib; - -let - rootUUID = "e9c95c74-e4cf-41f6-bb45-baf8dd579217"; - swapUUID = "4d172959-5cfd-4164-a46e-fa7be0dfd03a"; - diskID = "usb-Lexar_USB_Flash_Drive_201303211246293590E4-0:0"; -in { - imports = [ - ../common-workstation.nix - - ]; - - boot = { - kernelPackages = pkgs.linuxPackages_latest; - initrd.kernelModules = [ "fbcon" "usb_storage" ]; - loader.grub.device = "/dev/disk/by-id/${diskID}"; - loader.grub.memtest86.enable = true; - }; - - networking.hostName = "arilou"; - networking.wireless.enable = true; - networking.enableB43Firmware = true; - - fileSystems."/".device = "/dev/disk/by-uuid/${rootUUID}"; - fileSystems."/".fsType = "btrfs"; - fileSystems."/".options = concatStringsSep "," [ - "ssd" - "space_cache" - "compress-force=zlib" - "noatime" - ]; - - fileSystems."/tmp".device = "none"; - fileSystems."/tmp".fsType = "tmpfs"; - fileSystems."/tmp".options = "nosuid,nodev,relatime"; - - swapDevices = singleton { - device = "/dev/disk/by-uuid/${swapUUID}"; - }; - - services.openssh.enable = mkForce false; - services.xserver.videoDrivers = [ "intel" "ati" "nouveau" ]; - - nix.maxJobs = mkForce 2; -} -- cgit 1.4.1