Preparations for converting it to a flake

This commit is contained in:
NullBite 2023-12-27 02:34:18 -05:00
parent 3005da4ea1
commit e8ff7698d4
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
3 changed files with 0 additions and 34 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
hardware-configuration.nix
host-configuration.nix

View File

@ -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;
};
};
}

View File

@ -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"