about summary refs log tree commit diff
path: root/infra/nixos/configuration.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2019-09-02T18·04+0100
committerGitHub <noreply@github.com>2019-09-02T18·04+0100
commit2f239426aa4b9783c301a0ecbb4a9a4fd8b8e6dd (patch)
tree6656efbc41e5dd9c90759b7773538ac064666d54 /infra/nixos/configuration.nix
parent4bd6d528008c6a8a7357a2c40013931800582252 (diff)
parente2feae3387e5d95715bdd27cd62753a18abf16bd (diff)
Merge pull request #2 from tazjin/refactor/nixos-nginx-cleanup r/73
Remove old NixOS config and move oslo.pub
Diffstat (limited to 'infra/nixos/configuration.nix')
-rw-r--r--infra/nixos/configuration.nix53
1 files changed, 0 insertions, 53 deletions
diff --git a/infra/nixos/configuration.nix b/infra/nixos/configuration.nix
deleted file mode 100644
index 1de11a16f9b6..000000000000
--- a/infra/nixos/configuration.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-# This file contains basic configuration for all *.tazj.in Nix machines.
-
-{ config, pkgs, ... }:
-
-{
-  boot.loader.grub.enable = true;
-  boot.loader.grub.version = 2;
-  boot.loader.grub.device = "/dev/sda";
-
-  boot.initrd.availableKernelModules = [
-    "ata_piix"
-    "mptspi"
-    "sd_mod"
-    "sr_mod"
-  ];
-
-  # Configure root disk
-  fileSystems."/" = {
-    device = "/dev/disk/by-label/nixos";
-    fsType = "ext4";
-  };
-
-  services.vmwareGuest.enable = true;
-  services.vmwareGuest.headless = true;
-
-  time.timeZone = "Europe/Oslo";
-
-  environment.systemPackages = with pkgs; [
-    curl emacs htop
-  ];
-
-  services.openssh.enable = true;
-
-  networking.firewall.enable = true;
-  networking.firewall.allowedTCPPorts = [ 22 80 443 ];
-
-  users.extraUsers.vincent = {
-    isNormalUser = true;
-    uid = 1000;
-    extraGroups = [ "wheel" ];
-  };
-
-  security.sudo = {
-    enable = true;
-    extraConfig = "%wheel ALL=(ALL) NOPASSWD: ALL";
-  };
-
-  # This value determines the NixOS release with which your system is to be
-  # compatible, in order to avoid breaking some software such as database
-  # servers. You should change this only after NixOS release notes say you
-  # should.
-  system.stateVersion = "17.09"; # Did you read the comment?
-}