mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds zfs pool to boot, adds zfs to pkgs, adds dandelion-specific services, adds machine-specific variables
This commit is contained in:
parent
018442bbc3
commit
cdf68775f8
1 changed files with 19 additions and 1 deletions
|
|
@ -2,7 +2,9 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./variables.nix
|
||||
./../../modules/core/default.server.nix
|
||||
./../../modules/services/dandelion.nix
|
||||
];
|
||||
|
||||
networking.hostName = "dandelion";
|
||||
|
|
@ -15,7 +17,8 @@
|
|||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pkgs.kitty.terminfo
|
||||
kitty.terminfo
|
||||
zfs
|
||||
];
|
||||
|
||||
boot = {
|
||||
|
|
@ -23,5 +26,20 @@
|
|||
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";
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue