From 13b6049f0e3144fed66d428d6ea064b76462403a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 1 Jun 2018 21:50:51 +0000 Subject: [PATCH] Add hera --- hosts/hera/hardware-configuration.nix | 28 ++++++++++++++++++++++++++ hosts/hera/home.nix | 18 +++++++++++++++++ hosts/hera/secret/.gitattributes | 2 ++ hosts/hera/secret/pw-me | Bin 0 -> 128 bytes 4 files changed, 48 insertions(+) create mode 100644 hosts/hera/hardware-configuration.nix create mode 100644 hosts/hera/home.nix create mode 100644 hosts/hera/secret/.gitattributes create mode 100644 hosts/hera/secret/pw-me diff --git a/hosts/hera/hardware-configuration.nix b/hosts/hera/hardware-configuration.nix new file mode 100644 index 00000000..a983a1cd --- /dev/null +++ b/hosts/hera/hardware-configuration.nix @@ -0,0 +1,28 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = [ ]; + + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/8e92387a-6785-4b3c-bcdb-a4a423675173"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/A8E7-3962"; + fsType = "vfat"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/1e651bde-94b5-4fe2-9e6a-7af916d80057"; } + ]; + + nix.maxJobs = lib.mkDefault 4; +} diff --git a/hosts/hera/home.nix b/hosts/hera/home.nix new file mode 100644 index 00000000..052f0014 --- /dev/null +++ b/hosts/hera/home.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: +{ + +imports = [ + ../../home-manager +]; + +m-0.laptop.enable = true; +m-0.sleep-nag.enable = true; +m-0.battery.enable = true; +m-0.latex.enable = true; +m-0.accounting.enable = true; +m-0.graphical.enable = true; +m-0.rustdev.enable = true; +m-0.taskwarrior.enable = true; +m-0.eventd.enable = true; + +} diff --git a/hosts/hera/secret/.gitattributes b/hosts/hera/secret/.gitattributes new file mode 100644 index 00000000..3996a7c6 --- /dev/null +++ b/hosts/hera/secret/.gitattributes @@ -0,0 +1,2 @@ +* filter=git-crypt-hera diff=git-crypt-hera +.gitattributes !filter !diff diff --git a/hosts/hera/secret/pw-me b/hosts/hera/secret/pw-me new file mode 100644 index 0000000000000000000000000000000000000000..59ad2f24f8816cc67ab977a75082af67e8ca9222 GIT binary patch literal 128 zcmV-`0Du1gM@dveQdv+`0KJQ^mwQy{Dqn_lpO`fTr_M|)M+zLqRP*$M5GSCbuJcN= zDX~Yz>BpBc{ase3Z24mon@BRa25ya*VJqw8iF}63LsJ~R6@Ho;b`zqR literal 0 HcmV?d00001