From e8ff7698d421610df2a85d5a6dac3d6977986f0e Mon Sep 17 00:00:00 2001
From: NullBite <me@nullbite.com>
Date: Wed, 27 Dec 2023 02:34:18 -0500
Subject: [PATCH] Preparations for converting it to a flake

---
 .gitignore                     |  2 --
 host-configuration.nix.example | 30 ------------------------------
 sync.sh                        |  2 --
 3 files changed, 34 deletions(-)
 delete mode 100644 host-configuration.nix.example
 delete mode 100755 sync.sh

diff --git a/.gitignore b/.gitignore
index 73f32fe..e69de29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +0,0 @@
-hardware-configuration.nix
-host-configuration.nix
diff --git a/host-configuration.nix.example b/host-configuration.nix.example
deleted file mode 100644
index 33e08c4..0000000
--- a/host-configuration.nix.example
+++ /dev/null
@@ -1,30 +0,0 @@
-{ config, lib, pkgs, modulesPath, ... }:
-
-{
-  ### set hostname
-  # networking.hostname = "hostname";
-
-  # cryptsetup
-  boot.initrd.luks.devices = {
-    lvmroot = {
-      # device="/dev/disk/by-uuid/<UUID>";
-      allowDiscards = true;
-      fallbackToPassword = true;
-      preLVM = true;
-    };
-  };
-
-  # bootloader setup
-  boot.loader = {
-    efi = {
-      canTouchEfiVariables = true;
-      # nixos doesn't use a separate /efi and doesn't need it because the images are tiny
-      # efiSysMountPoint = "/boot";
-    };
-    systemd-boot = {
-      enable = true;
-      netbootxyz.enable = true;
-      memtest86.enable = true;
-    };
-  };
-}
diff --git a/sync.sh b/sync.sh
deleted file mode 100755
index 8a0b61e..0000000
--- a/sync.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/usr/bin/env bash
-sudo rsync -rlptDHAXviP ~/git/nixos-config/ /etc/nixos/ --exclude='*.example' --exclude='.git' --exclude=".gitignore" --exclude="sync.sh"