rearrange swan settings

This commit is contained in:
Noah Masur 2023-02-27 02:50:24 +00:00
parent de1fae2baf
commit 5557065c8b

View File

@ -18,8 +18,12 @@ nixpkgs.lib.nixosSystem {
disko.nixosModules.disko disko.nixosModules.disko
{ {
server = true; server = true;
zfs.enable = true; networking.hostName = "swan";
# head -c 8 /etc/machine-id
networking.hostId = "600279f4"; # Random ID required for ZFS
zfs.enable = true;
disko = { disko = {
enableConfig = true; enableConfig = true;
devices = (import ../../disks/root.nix { disk = "/dev/nvme0n1"; }); devices = (import ../../disks/root.nix { disk = "/dev/nvme0n1"; });
@ -28,18 +32,15 @@ nixpkgs.lib.nixosSystem {
# disks = [ "/dev/sda" "/dev/sdb" "/dev/sdc" ]; # disks = [ "/dev/sda" "/dev/sdb" "/dev/sdc" ];
# }); # });
}; };
boot.zfs.extraPools = [ "tank" ];
# head -c 8 /etc/machine-id
networking.hostId = "600279f4"; # Random ID required for ZFS
gui.enable = false; gui.enable = false;
theme = { colors = (import ../../colorscheme/gruvbox).dark; }; theme = { colors = (import ../../colorscheme/gruvbox).dark; };
nixpkgs.overlays = overlays; nixpkgs.overlays = overlays;
neovim.enable = true;
wsl.enable = false; wsl.enable = false;
caddy.enable = true; caddy.enable = true;
networking.hostName = "swan";
# Disable passwords, only use SSH key # Disable passwords, only use SSH key
publicKey = publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s"; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
@ -47,15 +48,6 @@ nixpkgs.lib.nixosSystem {
# Clone dotfiles # Clone dotfiles
dotfiles.enable = true; dotfiles.enable = true;
neovim.enable = true;
# boot.zfs.enabled = true;
# boot.kernelPackages =
# config.boot.zfs.package.latestCompatibleLinuxPackages;
# boot.zfs.extraPools = [ "mypool" ];
# services.zfs.autoScrub.enable = true;
# services.zfs.autoScrub.interval = "daily";
# services.nfs.server.enable = true; # services.nfs.server.enable = true;
} }