From 380e81014a8145e3f0f20b5e66656b06a4525e24 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Thu, 15 Jan 2026 09:21:36 +0000 Subject: [PATCH] rm derek --- flake.nix | 2 +- hosts/derek/calendar.nix | 54 -------------------------- hosts/derek/default.nix | 53 ------------------------- hosts/derek/disk-config.nix | 37 ------------------ hosts/derek/hardware-configuration.nix | 18 --------- hosts/derek/secrets.nix | 9 ----- profiles/packages.nix | 4 ++ 7 files changed, 5 insertions(+), 172 deletions(-) delete mode 100644 hosts/derek/calendar.nix delete mode 100644 hosts/derek/default.nix delete mode 100644 hosts/derek/disk-config.nix delete mode 100644 hosts/derek/hardware-configuration.nix delete mode 100644 hosts/derek/secrets.nix diff --git a/flake.nix b/flake.nix index 55acbed..b21ba54 100644 --- a/flake.nix +++ b/flake.nix @@ -54,7 +54,7 @@ inherit (constants) user; darwinHosts = ["chidi" "jason"]; - nixosHosts = ["derek" "michael" "tahani"]; + nixosHosts = ["michael" "tahani"]; overlays = import ./overlays {inherit inputs;}; nixpkgsConfig = hostPlatform: { diff --git a/hosts/derek/calendar.nix b/hosts/derek/calendar.nix deleted file mode 100644 index 83c4d5d..0000000 --- a/hosts/derek/calendar.nix +++ /dev/null @@ -1,54 +0,0 @@ -{...}: { - programs.vdirsyncer = { - enable = true; - }; - - programs.khal = { - enable = true; - locale = { - local_timezone = "Europe/Berlin"; - default_timezone = "Europe/Berlin"; - timeformat = "%H:%M"; - dateformat = "%d/%m/%Y"; - longdateformat = "%d/%m/%Y"; - datetimeformat = "%d/%m/%Y %H:%M"; - longdatetimeformat = "%d/%m/%Y %H:%M"; - }; - }; - - accounts.calendar = { - basePath = ".local/share/calendars"; - accounts.icloud = { - primary = true; - primaryCollection = "home"; - - remote = { - type = "caldav"; - url = "https://caldav.icloud.com/"; - userName = "christoph@schmatzler.com"; - passwordCommand = ["cat" "/run/secrets/derek-icloud-password"]; - }; - - local = { - type = "filesystem"; - fileExt = ".ics"; - }; - - vdirsyncer = { - enable = true; - collections = ["from a" "from b"]; - metadata = ["color" "displayname"]; - }; - - khal = { - enable = true; - type = "discover"; - }; - }; - }; - - services.vdirsyncer = { - enable = true; - frequency = "*:0/15"; - }; -} diff --git a/hosts/derek/default.nix b/hosts/derek/default.nix deleted file mode 100644 index 8097bf6..0000000 --- a/hosts/derek/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ - pkgs, - inputs, - user, - hostname, - modulesPath, - ... -}: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - (modulesPath + "/profiles/qemu-guest.nix") - ./disk-config.nix - ./hardware-configuration.nix - ./secrets.nix - ../../profiles/core.nix - ../../profiles/fail2ban.nix - ../../profiles/nixos.nix - ../../profiles/openssh.nix - ../../profiles/tailscale.nix - inputs.disko.nixosModules.disko - inputs.sops-nix.nixosModules.sops - ]; - - networking.hostName = hostname; - - environment.systemPackages = with pkgs; [ - chromium - playwright-driver.browsers - ]; - - home-manager.users.${user} = { - imports = [ - ../../profiles/bash.nix - ../../profiles/bat.nix - ../../profiles/direnv.nix - ../../profiles/eza.nix - ../../profiles/fish.nix - ../../profiles/fzf.nix - ../../profiles/git.nix - ../../profiles/home.nix - ../../profiles/jjui.nix - ../../profiles/jujutsu.nix - ../../profiles/lazygit.nix - ../../profiles/neovim - ../../profiles/ripgrep.nix - ../../profiles/ssh.nix - ../../profiles/starship.nix - ../../profiles/zoxide.nix - ./calendar.nix - inputs.nixvim.homeModules.nixvim - ]; - }; -} diff --git a/hosts/derek/disk-config.nix b/hosts/derek/disk-config.nix deleted file mode 100644 index c851874..0000000 --- a/hosts/derek/disk-config.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ - disko.devices = { - disk = { - main = { - type = "disk"; - device = "/dev/sda"; - content = { - type = "gpt"; - partitions = { - boot = { - size = "1M"; - type = "EF02"; - }; - ESP = { - size = "512M"; - type = "EF00"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - mountOptions = ["umask=0077"]; - }; - }; - root = { - size = "100%"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - }; - }; - }; - }; - }; - }; - }; -} diff --git a/hosts/derek/hardware-configuration.nix b/hosts/derek/hardware-configuration.nix deleted file mode 100644 index e9ba45b..0000000 --- a/hosts/derek/hardware-configuration.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - lib, - modulesPath, - ... -}: { - imports = [ - (modulesPath + "/profiles/qemu-guest.nix") - ]; - - boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = []; - boot.extraModulePackages = []; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - - networking.useDHCP = lib.mkDefault true; -} diff --git a/hosts/derek/secrets.nix b/hosts/derek/secrets.nix deleted file mode 100644 index fd0e7de..0000000 --- a/hosts/derek/secrets.nix +++ /dev/null @@ -1,9 +0,0 @@ -{user, ...}: { - sops.secrets = { - derek-icloud-password = { - sopsFile = ../../secrets/derek-icloud-password; - format = "binary"; - owner = user; - }; - }; -} diff --git a/profiles/packages.nix b/profiles/packages.nix index d60a476..776863b 100644 --- a/profiles/packages.nix +++ b/profiles/packages.nix @@ -27,6 +27,10 @@ with pkgs; hledger htop hyperfine + inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.amp + inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.codex + inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.ccusage-codex + inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.ccusage-opencode jq killall lsof