mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./variables.nix
|
|
./../../modules/core/default.server.nix
|
|
./../../modules/services/dandelion.nix
|
|
];
|
|
|
|
users.users.liv.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOLdcB5JFWx6OK2BAr8J0wPHNhr2VP2/Ci6fv3a+DPfo liv@violet" # allow violet to log in over ssh to do back ups
|
|
];
|
|
|
|
networking.hostName = "dandelion";
|
|
|
|
liv.server.enable = true;
|
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"jitsi-meet-1.0.8043"
|
|
"olm-3.2.16"
|
|
];
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
kitty.terminfo
|
|
zfs
|
|
];
|
|
|
|
boot = {
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
supportedFilesystems = [ "zfs" ];
|
|
};
|
|
|
|
networking.hostId = "8a6b2565";
|
|
|
|
services.zfs = {
|
|
autoScrub.enable = true;
|
|
trim.enable = true;
|
|
};
|
|
|
|
# boot.zfs.extraPools = [ "terrabite" ];
|
|
|
|
# fileSystems."/terrabite/main" = {
|
|
# device = "terrabite/main";
|
|
# fsType = "zfs";
|
|
# };
|
|
}
|