authorgravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-05-08 00:19:14-07:00
committergravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-05-08 00:19:14-07:00
logbbeb43787285dcb0d8d5222f6f26b0e101b1dc6f
tree6e9e0e89b9b121bcc6412c79e82443d83abeae19
parent63d08c5d308557c29f23b7e3158288cc8d83b59d

chloe: add more programs


7 files changed, 76 insertions(+), 24 deletions(-)

modules/macos/default.nix+3-3
......@@ -13,8 +13,8 @@
1313 ];
1414 # make 'shared.linux' not an error to define.
1515 options.shared.linux = lib.mkOption {
16 type = lib.types.anything;
17 default = {};
18 description = "no-op on darwin";
16 type = lib.types.anything;
17 default = {};
18 description = "no-op on darwin";
1919 };
2020}
modules/nixos/default.nix+8-4
......@@ -1,4 +1,8 @@
1{ lib, pkgs, ... }: {
1{
2 lib,
3 pkgs,
4 ...
5}: {
26 imports = [
37 ./boot.nix
48 ./ld.nix
......@@ -7,8 +11,8 @@
711 ];
812 # make 'shared.darwin' not an error to define.
913 options.shared.darwin = lib.mkOption {
10 type = lib.types.anything;
11 default = {};
12 description = "no-op on linux";
14 type = lib.types.anything;
15 default = {};
16 description = "no-op on linux";
1317 };
1418}
users/chloe/configuration.nix+1-1
......@@ -1,5 +1,5 @@
11# Configuration applied to all of chloe's machines
2{ pkgs, ... }: {
2{pkgs, ...}: {
33 # packages for all machines
44 environment.systemPackages = with pkgs; [
55 neovim
users/chloe/home.nix+50-6
......@@ -2,23 +2,67 @@
22 inputs,
33 pkgs,
44 lib,
5 host,
56 ...
6}: {
7}: let
8 hostServer = false;
9in {
710 home = {
811 stateVersion = "23.05"; # Please read the comment before changing.
9 packages = [
10 pkgs.neovim
11 pkgs.nh
12 pkgs.ffmpeg
13 ];
12 packages = with pkgs; let
13 # packages to always install
14 all = [
15 ffmpeg
16 ripgrep
17 ];
18 # packages to install for desktop environments (non-server)
19 desktop = [
20 ];
21 # packages to install on all servers
22 server = [];
23 # packages to install on macOS desktops
24 darwin = [
25 raycast
26 ];
27 # packages to install on linux desktops
28 linux = [
29 reaper # TODO: why does this break on macOS
30 ];
31 in
32 all
33 ++ (
34 if host.darwin
35 then darwin
36 else linux
37 )
38 ++ (
39 if hostServer
40 then server
41 else desktop
42 );
1443 };
1544 programs = {
1645 # sort-lines:start
46 bat.enable = true;
47 btop.enable = true;
48 fd.enable = true;
1749 hyfetch.enable = true;
1850 zsh.enable = true;
1951 # sort-lines:end
2052
2153 # use a git-specific email
2254 git.userEmail = "git@paperclover.net";
55
56 ssh = {
57 enable = true;
58 matchBlocks = rec {
59 zenith = {
60 hostname = "192.168.86.50";
61 user = "clo";
62 port = 222;
63 };
64 "nas.paperclover.net" = zenith;
65 };
66 };
2367 };
2468}
users/chloe/paperback/configuration.nix deleted-5
......@@ -1,5 +0,0 @@
1{pkgs, ...}: {
2 environment.systemPackages = with pkgs; [
3 reaper
4 ];
5}
users/chloe/paperback/home.nix created+14
......@@ -0,0 +1,14 @@
1{pkgs, ...}: {
2 # these programs are not globally installed to reduce distractions.
3 # most of these are needed for my work environment.
4 programs.bun.enable = true;
5 programs.zed-editor.enable = true;
6 home.packages = with pkgs; [
7 doppler
8 nodejs_22
9 rustup
10 typescript
11 pm2
12 pnpm
13 ];
14}
users/chloe/sandwich/configuration.nix-5
......@@ -1,9 +1,4 @@
11{pkgs, ...}: {
2 environment.systemPackages = with pkgs; [
3 ffmpeg
4 ripgrep
5 reaper
6 ];
72 shared.darwin = {
83 macAppStoreApps = [
94 "final-cut-pro"