From 966ed75d858434928401fe75957097352a976319 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 15 May 2025 21:32:38 +0200 Subject: [PATCH 1/3] feat: adds lily to hosts --- hosts/lily/default.nix | 41 ++++++++++++++++++++++++++++++++++++++++ hosts/lily/variables.nix | 19 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 hosts/lily/default.nix create mode 100644 hosts/lily/variables.nix diff --git a/hosts/lily/default.nix b/hosts/lily/default.nix new file mode 100644 index 0000000..b7772a7 --- /dev/null +++ b/hosts/lily/default.nix @@ -0,0 +1,41 @@ +{ pkgs, config, ... }: +{ + imports = [ + ./hardware-configuration.nix + ./variables.nix + ./../../modules/core/default.server.nix + ]; + + networking.hostName = "lily"; + + liv.server.enable = true; + + time.timeZone = "Europe/Amsterdam"; + + environment.systemPackages = with pkgs; [ + kitty.terminfo + zfs + ]; + + boot = { + loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + supportedFilesystems = [ "zfs" ]; + }; + + networking.hostId = "8wfk1d8a"; + + services.zfs = { + autoScrub.enable = true; + trim.enable = true; + }; + + # boot.zfs.extraPools = [ "terrabite" ]; + + # fileSystems."/terrabite/main" = { + # device = "terrabite/main"; + # fsType = "zfs"; + # }; +} diff --git a/hosts/lily/variables.nix b/hosts/lily/variables.nix new file mode 100644 index 0000000..00f986e --- /dev/null +++ b/hosts/lily/variables.nix @@ -0,0 +1,19 @@ +{ + lib, + config, + ... +}: +let + inherit (lib) mkOption types; + inherit (config.liv) variables; +in +{ + options.liv.variables.lily = { + thisMachine = mkOption { + default = "lily.srv.${variables.primaryDomain}"; + type = types.str; + readOnly = true; + description = "Domain of this specific machine"; + }; + }; +} From e17ee3f1fe3edf92e0b8bc417b3d4dc4d790695f Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 15 May 2025 21:33:47 +0200 Subject: [PATCH 2/3] feat: adds back w3m because of html emails grr --- modules/home/packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home/packages.nix b/modules/home/packages.nix index ce2d3de..73b9fa8 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -81,6 +81,7 @@ # Email/calendar/etc neomutt + w3m khard khal vdirsyncer From c2a9740c77adefa361e07ac9325e28dce069fd4d Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 15 May 2025 21:33:57 +0200 Subject: [PATCH 3/3] fix: set correct update date for screenshot --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63e92f8..0ce532e 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@


- Screenshots last updated 2024-09-04 + Screenshot last updated 2025-05-11

# Overview