67 lines
1.6 KiB
Nix
67 lines
1.6 KiB
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.disko.nixosModules.disko
|
|
./format.nix
|
|
./hardware
|
|
|
|
../common/configs/system
|
|
|
|
../common/configs/system/boot
|
|
../common/configs/system/brightnessctl
|
|
../common/configs/system/btrbk
|
|
../common/configs/system/btrfs
|
|
../common/configs/system/documentation
|
|
../common/configs/system/git
|
|
../common/configs/system/impermanence
|
|
../common/configs/system/neovim
|
|
../common/configs/system/networkmanager
|
|
../common/configs/system/nix
|
|
../common/configs/system/nix-cleanup
|
|
../common/configs/system/nixpkgs
|
|
../common/configs/system/ntp
|
|
../common/configs/system/podman
|
|
../common/configs/system/power
|
|
../common/configs/system/smartmontools
|
|
../common/configs/system/sops
|
|
../common/configs/system/ssh
|
|
../common/configs/system/sshd
|
|
../common/configs/system/sudo
|
|
../common/configs/system/system
|
|
../common/configs/system/users
|
|
../common/configs/system/zsh
|
|
|
|
./configs/wireguard
|
|
|
|
./users/storm
|
|
./users/nick
|
|
];
|
|
|
|
# TODO: DNS for .local
|
|
networking.hostName = "jupiter";
|
|
|
|
boot.initrd = {
|
|
luks.devices.main.keyFile = "/usb/keyfile";
|
|
systemd.contents."/etc/fstab".text = ''
|
|
UUID=8E50-CD43 /usb vfat ro,umask=0377
|
|
'';
|
|
};
|
|
|
|
# TODO: Enable
|
|
# fileSystems."/mnt/storage" = {
|
|
# label = "storage";
|
|
# fsType = "btrfs";
|
|
# options = [
|
|
# "x-initrd.mount"
|
|
# "defaults"
|
|
# "subvol=@"
|
|
# "compress=zstd:5"
|
|
# "noatime"
|
|
# ];
|
|
# };
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEWDA5vnIB7KE2VG28Ovg5rXtQqxFwMXsfozLsH0BNZS nick@karaolidis.com"
|
|
];
|
|
}
|