NixOS configuration
Find a file
Julian Sutter fdb3a384b4 Increase button size in Zed editor
This commit adds UI metrics overrides to make buttons in Zed editor
larger and easier to interact with.

## Changes Made

### File: users/jsutter.nix

Added ui_metrics configuration to Zed editor userSettings:

```nix
ui_metrics = {
  overrides = {
    button = {
      padding = {
        top = 8;
        right = 12;
        bottom = 8;
        left = 12;
      };
      corner_radius = 8;
      font_size = 14;
    };
  };
};
```

## What This Does

- **Increased padding**: Buttons now have 8px top/bottom and 12px left/right padding
  (vs default smaller values)
- **Larger corner radius**: Buttons have rounded corners with 8px radius for
  a softer, more modern appearance
- **Bigger font**: Button text is now 14px instead of the default smaller size

## How to Apply

The changes will take effect when you either:
1. Rebuild the NixOS configuration: `sudo nixos-rebuild switch --flake .#framework`
2. Or restart the Zed editor (if using mutableUserSettings, changes may be
   picked up immediately upon next launch)

## Customization Notes

If you want to adjust the button size even more, you can modify these values:
- Decrease `padding` values for smaller buttons
- Increase `padding` values for larger buttons
- Adjust `font_size` for larger/smaller text on buttons
- Adjust `corner_radius` for more/less rounded corners

The `mutableUserSettings = true` option allows Zed to modify settings.json
directly when you change settings in the UI, while these Nix-managed
settings provide the base configuration.
2026-02-03 22:20:09 -08:00
appflakes/octofriend getting zoom clipboard working 2026-01-02 09:44:41 -08:00
desktop Fix deprecated NixOS options and migrate to new syntax 2026-02-03 22:18:15 -08:00
docs Clean up user configuration and organize documentation 2025-07-30 23:25:24 -07:00
servers Refactor NixOS configuration: Move GUI apps to desktop modules and create headless config 2025-07-30 23:17:55 -07:00
systems Fix deprecated NixOS options and migrate to new syntax 2026-02-03 22:18:15 -08:00
users Increase button size in Zed editor 2026-02-03 22:20:09 -08:00
.clinerules agents.md 2025-11-27 12:57:50 -08:00
.gitignore initial commit from framework 2022-12-18 20:40:49 -08:00
flake.lock Update NixOS configurations across multiple modules 2026-02-03 22:13:06 -08:00
flake.nix Fix deprecated NixOS options and migrate to new syntax 2026-02-03 22:18:15 -08:00
README.md Update README.md 2025-11-12 17:26:39 +00:00

sudo parted /dev/nvme0n1 -- mklabel gpt
sudo parted /dev/nvme0n1 -- mkpart primary ext4 512MB 100%
sudo parted /dev/nvme0n1 -- mkpart ESP fat32 1MB 512MB
sudo parted /dev/nvme0n1 -- set 2 esp on
sleep 2
sudo mkfs.ext4 /dev/disk/by-partlabel/primary

sudo mount -o rw /dev/disk/by-partlabel/primary /mnt/
sudo mkdir /mnt/boot
sudo mkfs.vfat /dev/disk/by-partlabel/ESP
sudo mount -o rw /dev/disk/by-partlabel/ESP /mnt/boot/
sudo mkdir /mnt/root
sudo git clone https://jsutter:b9cf9383b20dc6efe4d0a732d659709097879b67@git.symbiotrip.com/jsutter/nixos /mnt/root/nixos

Then:

sudo -i
cd /mnt/root/nixos
nixos-install --flake .#<name> --no-root-password --impure

Finally:

nixos-enter --root '/mnt'
passwd jsutter