mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-09-05 18:30:39 +00:00
Compare commits
51 Commits
a54fb3c474
...
main
Author | SHA1 | Date | |
---|---|---|---|
dde705cf76 | |||
1cb2aa0a04 | |||
|
6946fcb6fe | ||
|
6425ba60eb | ||
|
246ec2c64c | ||
6cf8fc5ef5 | |||
0e9cccf82e | |||
|
8a51c74620 | ||
|
2f0d9a097e | ||
|
f797752d8c | ||
aaec06be58 | |||
a345a227aa | |||
b712b580a9 | |||
|
8d79067cb2 | ||
|
86e48260f6 | ||
b986b3a6c5 | |||
|
3f30b041c7 | ||
|
412d5200f2 | ||
|
c4e7214a17 | ||
|
03098ec5d9 | ||
a62a663a1e | |||
|
2edba6eac8 | ||
ed7696d7a3 | |||
89d8728118 | |||
c001acbb04 | |||
|
35e8d233b0 | ||
|
a92e8912e7 | ||
|
225846e2e2 | ||
3b500da3a4 | |||
4031657854 | |||
bb9aa33132 | |||
309c4c8d02 | |||
e746a81578 | |||
3a7470cce7 | |||
a4d815202e | |||
1dc5eb19f5 | |||
5708bd1509 | |||
faf04c3311 | |||
a31c089055 | |||
f50908d358 | |||
58f2f67260 | |||
899ab0658f | |||
205b4b8c9c | |||
e01a71ece0 | |||
1c20a73d19 | |||
a1ad0fa815 | |||
9c14f17cd8 | |||
00c61fe4a1 | |||
4ec39b7ab3 | |||
5231444833 | |||
d831b73833 |
@@ -4,6 +4,7 @@
|
||||
|
||||
```bash
|
||||
# Install nix [without the --determinate flag]
|
||||
# ⚠️ When asked if install the determinate version say no
|
||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
||||
|
||||
# Install brew [for casks]
|
||||
@@ -19,7 +20,7 @@ git-crypt unlock .key
|
||||
|
||||
# Installation
|
||||
# Available hosts can be found in the ./hosts directory
|
||||
nix run nix-darwin -- switch --flake ~/.config/nix-macos#<host>
|
||||
sudo nix run nix-darwin -- switch --flake ~/.config/nix-macos#<host>
|
||||
|
||||
# After installation simply use the provided alias to rebuild
|
||||
vai
|
||||
@@ -55,5 +56,3 @@ Stuff that I would like to automate, but have not found a way/time
|
||||
- surfshark
|
||||
- ublock origin
|
||||
- vimium
|
||||
|
||||
|
||||
|
22
cask.nix
22
cask.nix
@@ -1,8 +1,10 @@
|
||||
[
|
||||
# Objective See
|
||||
"knockknock"
|
||||
"lulu"
|
||||
"oversight"
|
||||
|
||||
# Utility
|
||||
"aldente"
|
||||
"alt-tab"
|
||||
"keka"
|
||||
@@ -13,31 +15,25 @@
|
||||
"lihaoyun6/tap/quickrecorder"
|
||||
|
||||
# Dev
|
||||
"docker"
|
||||
"docker-desktop"
|
||||
"sloth"
|
||||
"vscodium"
|
||||
"hoppscotch"
|
||||
"postman"
|
||||
"visual-studio-code"
|
||||
"utm"
|
||||
"balenaetcher"
|
||||
"outerbase-studio"
|
||||
"hoppscotch"
|
||||
|
||||
# Apps
|
||||
# Base
|
||||
"obsidian"
|
||||
"figma"
|
||||
"arc"
|
||||
"firefox"
|
||||
"zen-browser"
|
||||
"zen"
|
||||
"ungoogled-chromium"
|
||||
"bitwarden"
|
||||
"spotify"
|
||||
"vlc"
|
||||
"slack"
|
||||
"yubico-authenticator"
|
||||
"suspicious-package"
|
||||
"mediahuman-audio-converter"
|
||||
"imageoptim"
|
||||
"appcleaner"
|
||||
"daisydisk"
|
||||
"discord"
|
||||
"signal"
|
||||
"vlc"
|
||||
]
|
||||
|
24
darwin.nix
24
darwin.nix
@@ -6,7 +6,11 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
nix.settings = {
|
||||
experimental-features = "nix-command flakes";
|
||||
substituters = [ "https://devenv.cachix.org" ];
|
||||
trusted-public-keys = [ "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" ];
|
||||
};
|
||||
|
||||
# Set Git commit hash for darwin-version.
|
||||
system.configurationRevision = flake.rev or flake.dirtyRev or null;
|
||||
@@ -20,12 +24,7 @@
|
||||
# Nix Darwin
|
||||
# https://daiderd.com/nix-darwin/manual/index.html
|
||||
|
||||
# networking.hosts = {
|
||||
# "127.0.0.1" = [
|
||||
# "localhost"
|
||||
# "dev.buena.com"
|
||||
# ];
|
||||
# };
|
||||
system.primaryUser = host.username;
|
||||
|
||||
system.defaults = {
|
||||
# Security
|
||||
@@ -39,9 +38,9 @@
|
||||
orientation = "left";
|
||||
show-recents = false;
|
||||
persistent-apps = [
|
||||
"/Applications/Arc.app"
|
||||
"/Applications/Zen.app"
|
||||
"/Applications/Ghostty.app"
|
||||
"/Applications/VSCodium.app"
|
||||
"/Applications/Visual Studio Code.app"
|
||||
"/Applications/Spotify.app"
|
||||
"/System/Applications/System Settings.app"
|
||||
];
|
||||
@@ -74,6 +73,13 @@
|
||||
remapCapsLockToEscape = true;
|
||||
};
|
||||
|
||||
# Power
|
||||
power = {
|
||||
sleep = {
|
||||
computer = "never";
|
||||
};
|
||||
};
|
||||
|
||||
# Other
|
||||
system.startup.chime = false;
|
||||
|
||||
|
@@ -1,4 +0,0 @@
|
||||
[user]
|
||||
name = cupcakearmy
|
||||
email = hi@nicco.io
|
||||
signingkey = 3235314B4D31232F
|
@@ -1,4 +0,0 @@
|
||||
[user]
|
||||
name = Niccolo Borgioli
|
||||
email = hi@nicco.io
|
||||
signingkey = 4897ACD13A65977C
|
@@ -4,15 +4,15 @@
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
[core]
|
||||
pager = delta
|
||||
excludesfile = ~/.gitignore_global
|
||||
autocrlf = input
|
||||
ignorecase=false
|
||||
[commit]
|
||||
gpgsign = false
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[pull]
|
||||
rebase = false
|
||||
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
[branch]
|
||||
@@ -20,5 +20,16 @@
|
||||
[alias]
|
||||
fpush = push --force-with-lease
|
||||
|
||||
# Signing
|
||||
[tag]
|
||||
gpgsign = true
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[gpg]
|
||||
format = ssh
|
||||
|
||||
[include]
|
||||
path = ~/.gitconfig.local
|
||||
|
||||
[delta]
|
||||
navigate = true
|
||||
|
1
files/omp/colors/.gitignore
vendored
1
files/omp/colors/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
node_modules
|
Binary file not shown.
@@ -1,106 +0,0 @@
|
||||
[
|
||||
{
|
||||
"properties": {
|
||||
"steps": 8,
|
||||
"hue": {
|
||||
"start": 209,
|
||||
"end": 259,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"saturation": {
|
||||
"start": 0.03,
|
||||
"end": 1,
|
||||
"rate": 1,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"brightness": {
|
||||
"start": 1,
|
||||
"end": 0.03,
|
||||
"curve": "easeInQuart"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"minorSteps": [0, 1],
|
||||
"name": "Main",
|
||||
"rotation": "clockwise"
|
||||
}
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"steps": 8,
|
||||
"hue": {
|
||||
"start": 0,
|
||||
"end": 15,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"saturation": {
|
||||
"start": 0.75,
|
||||
"end": 1,
|
||||
"rate": 1,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"brightness": {
|
||||
"start": 1,
|
||||
"end": 0.2,
|
||||
"curve": "linear"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"minorSteps": [0, 1],
|
||||
"name": "Error",
|
||||
"rotation": "clockwise"
|
||||
}
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"steps": 8,
|
||||
"hue": {
|
||||
"start": 60,
|
||||
"end": 70,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"saturation": {
|
||||
"start": 0.75,
|
||||
"end": 1,
|
||||
"rate": 1,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"brightness": {
|
||||
"start": 1,
|
||||
"end": 0.2,
|
||||
"curve": "linear"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"minorSteps": [0, 1],
|
||||
"name": "Warning",
|
||||
"rotation": "clockwise"
|
||||
}
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"steps": 8,
|
||||
"hue": {
|
||||
"start": 122,
|
||||
"end": 146,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"saturation": {
|
||||
"start": 0.75,
|
||||
"end": 1,
|
||||
"rate": 1,
|
||||
"curve": "easeOutQuad"
|
||||
},
|
||||
"brightness": {
|
||||
"start": 1,
|
||||
"end": 0.2,
|
||||
"curve": "linear"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"minorSteps": [0, 1],
|
||||
"name": "Success",
|
||||
"rotation": "clockwise"
|
||||
}
|
||||
}
|
||||
]
|
@@ -1,21 +0,0 @@
|
||||
import color from '@k-vyn/coloralgorithm'
|
||||
import colors from './colors.json' assert { type: 'json' }
|
||||
import fs from 'fs'
|
||||
import yaml from 'yaml'
|
||||
|
||||
const offset = 10
|
||||
const palette = {}
|
||||
for (const { properties, options } of colors) {
|
||||
const result = color.generate(properties, options)
|
||||
const name = result[0].name
|
||||
for (const color of result[0].colors) {
|
||||
palette[`${name.toLowerCase()}-${color.step * offset}`] = color.hex
|
||||
}
|
||||
}
|
||||
|
||||
const configFile = '../main.omp.yaml'
|
||||
const config = fs.readFileSync(configFile, 'utf8')
|
||||
// config.palette = palette
|
||||
const output = yaml.stringify({ palette })
|
||||
|
||||
fs.writeFileSync(configFile, config.replace(/palette:(.|\s)*$/, output))
|
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@k-vyn/coloralgorithm": "^1.0.0",
|
||||
"yaml": "^2.2.1"
|
||||
}
|
||||
}
|
@@ -1,159 +0,0 @@
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||
|
||||
palette:
|
||||
error-0: '#ff4040'
|
||||
error-10: '#e23629'
|
||||
error-15: '#d33220'
|
||||
error-20: '#c52e18'
|
||||
error-30: '#a8280d'
|
||||
error-40: '#8a2106'
|
||||
error-5: '#f03a34'
|
||||
error-50: '#6d1b02'
|
||||
error-60: '#501401'
|
||||
error-70: '#330d00'
|
||||
main-0: '#f7fbff'
|
||||
main-10: '#b4cafd'
|
||||
main-15: '#95a9fc'
|
||||
main-20: '#7783fa'
|
||||
main-30: '#5348f4'
|
||||
main-40: '#4826e8'
|
||||
main-5: '#d6e6fe'
|
||||
main-50: '#3e10ca'
|
||||
main-60: '#22036e'
|
||||
main-70: '#020008'
|
||||
success-0: '#40ff46'
|
||||
success-10: '#29e243'
|
||||
success-15: '#20d342'
|
||||
success-20: '#18c541'
|
||||
success-30: '#0da83d'
|
||||
success-40: '#068a36'
|
||||
success-5: '#34f044'
|
||||
success-50: '#026d2d'
|
||||
success-60: '#015022'
|
||||
success-70: '#003316'
|
||||
warning-0: '#ffff40'
|
||||
warning-10: '#dae229'
|
||||
warning-15: '#c8d320'
|
||||
warning-20: '#b6c518'
|
||||
warning-30: '#96a80d'
|
||||
warning-40: '#788a06'
|
||||
warning-5: '#ecf034'
|
||||
warning-50: '#5d6d02'
|
||||
warning-60: '#435001'
|
||||
warning-70: '#2a3300'
|
||||
blocks:
|
||||
- type: prompt
|
||||
alignment: left
|
||||
segments:
|
||||
- leading_diamond:
|
||||
foreground: p:main-70
|
||||
background: p:main-5
|
||||
type: os
|
||||
style: diamond
|
||||
- properties:
|
||||
style: full
|
||||
template: " \uf0e7 "
|
||||
foreground: p:main-70
|
||||
powerline_symbol:
|
||||
background: p:error-15
|
||||
type: root
|
||||
style: powerline
|
||||
- properties:
|
||||
style: full
|
||||
template: ' {{ .Path }} '
|
||||
foreground: p:main-0
|
||||
powerline_symbol:
|
||||
background: p:main-40
|
||||
type: path
|
||||
style: powerline
|
||||
- template: ' {{ .HEAD }} '
|
||||
foreground: p:main-70
|
||||
powerline_symbol:
|
||||
background: p:warning-10
|
||||
type: git
|
||||
style: powerline
|
||||
- type: prompt
|
||||
alignment: right
|
||||
segments:
|
||||
- leading_diamond:
|
||||
trailing_diamond:
|
||||
foreground: p:main-70
|
||||
background: p:main-10
|
||||
type: python
|
||||
style: dynamic
|
||||
- leading_diamond:
|
||||
trailing_diamond:
|
||||
foreground: p:main-70
|
||||
background: p:main-10
|
||||
type: go
|
||||
style: dynamic
|
||||
- leading_diamond:
|
||||
trailing_diamond:
|
||||
foreground: p:main-70
|
||||
background: p:main-10
|
||||
type: node
|
||||
style: dynamic
|
||||
- leading_diamond:
|
||||
trailing_diamond:
|
||||
template: '{{ .Context }}{{ if .Namespace }}::{{ .Namespace }}{{ end }}'
|
||||
foreground: p:main-70
|
||||
background: p:main-10
|
||||
type: kubectl
|
||||
style: dynamic
|
||||
- leading_diamond:
|
||||
trailing_diamond:
|
||||
template: '{{ .Icon }} {{ .Server }}'
|
||||
foreground: p:main-70
|
||||
background: p:main-10
|
||||
type: docker
|
||||
style: dynamic
|
||||
- leading_diamond:
|
||||
trailing_diamond:
|
||||
foreground: p:main-70
|
||||
background: p:main-10
|
||||
type: rust
|
||||
style: dynamic
|
||||
- leading_diamond:
|
||||
trailing_diamond:
|
||||
foreground: p:main-70
|
||||
background: p:main-10
|
||||
type: battery
|
||||
style: dynamic
|
||||
- properties:
|
||||
always_enabled: true
|
||||
leading_diamond:
|
||||
template: "{{ if gt .Code 0 }}\uf00d {{ .Code }} {{ .Meaning }}{{ else }}\uf42e{{ end }}"
|
||||
foreground: p:main-70
|
||||
type: status
|
||||
style: diamond
|
||||
background_templates:
|
||||
- '{{ if gt .Code 0 }}p:error-0{{ else }}p:main-10{{ end }}'
|
||||
- properties:
|
||||
always_enabled: true
|
||||
style: round
|
||||
foreground: p:main-70
|
||||
powerline_symbol:
|
||||
background: p:main-5
|
||||
type: executiontime
|
||||
style: powerline
|
||||
- properties:
|
||||
time_format: '15:04:05'
|
||||
template: ' {{ .CurrentDate | date .Format }} '
|
||||
foreground: p:main-70
|
||||
powerline_symbol:
|
||||
background: p:main-0
|
||||
type: time
|
||||
style: powerline
|
||||
- type: prompt
|
||||
alignment: left
|
||||
segments:
|
||||
- properties:
|
||||
always_enabled: true
|
||||
template: '❯ '
|
||||
foreground: p:main-15
|
||||
type: status
|
||||
style: plain
|
||||
foreground_templates:
|
||||
- '{{ if gt .Code 0 }}p:error-15{{ end }}'
|
||||
newline: true
|
||||
version: 3
|
18
flake.lock
generated
18
flake.lock
generated
@@ -7,11 +7,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1745764360,
|
||||
"narHash": "sha256-GJEUJpZLkczMN6HXD0wdFX6KyDbvZe3v5orUhqEfK6w=",
|
||||
"lastModified": 1756579987,
|
||||
"narHash": "sha256-duCce8zGsaMsrqqOmLOsuaV1PVIw/vXWnKuLKZClsGg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "50bb714a8259b0c29b6c3429099a3b837771dab4",
|
||||
"rev": "99a69bdf8a3c6bf038c4121e9c4b6e99706a187a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -27,11 +27,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1744478979,
|
||||
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
|
||||
"lastModified": 1755825449,
|
||||
"narHash": "sha256-XkiN4NM9Xdy59h69Pc+Vg4PxkSm9EWl6u7k6D5FZ5cM=",
|
||||
"owner": "LnL7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
|
||||
"rev": "8df64f819698c1fee0c2969696f54a843b2231e8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -42,11 +42,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1745377448,
|
||||
"narHash": "sha256-jhZDfXVKdD7TSEGgzFJQvEEZ2K65UMiqW5YJ2aIqxMA=",
|
||||
"lastModified": 1756536218,
|
||||
"narHash": "sha256-ynQxPVN2FIPheUgTFhv01gYLbaiSOS7NgWJPm9LF9D0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "507b63021ada5fee621b6ca371c4fca9ca46f52c",
|
||||
"rev": "a918bb3594dd243c2f8534b3be01b3cb4ed35fd1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@@ -32,6 +32,9 @@
|
||||
flake = self;
|
||||
};
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
||||
}
|
||||
(import ./darwin.nix)
|
||||
home-manager.darwinModules.home-manager
|
||||
{
|
||||
|
@@ -25,29 +25,39 @@
|
||||
};
|
||||
|
||||
file = {
|
||||
".config/omp/config.yaml".source = ../files/omp/config.yaml;
|
||||
".config/ghostty/config".source = ../files/ghostty/config;
|
||||
".gitconfig".source = ../files/git/gitconfig;
|
||||
".gitignore_global".source = ../files/git/gitignore_global;
|
||||
".gitconfig.local".source = ../files/git/config.work;
|
||||
".gitconfig.local".source = ../secrets/git/config.${host.hostName};
|
||||
".config/nvim".source = ../files/nvim;
|
||||
|
||||
# Secrets
|
||||
".ssh/config".source = ../secrets/ssh/config;
|
||||
".ssh/config".text = builtins.replaceStrings [ "@SSH_KEY@" ] [ host.sshKey ] (
|
||||
builtins.readFile ../secrets/ssh/config.template
|
||||
);
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
l = "ls -hal";
|
||||
# Rust re-maps
|
||||
l = "eza -a1lh";
|
||||
ls = "eza";
|
||||
cat = "bat";
|
||||
cd = "z";
|
||||
|
||||
# QOL
|
||||
dc = "docker compose";
|
||||
rsync = "rsync -az --info=progress2";
|
||||
t = "tmux new-session -A -s main";
|
||||
e = "nvim";
|
||||
g = "lazygit";
|
||||
d = "lazydocker";
|
||||
vai = "darwin-rebuild switch --flake ~/.config/nix-macos#${host.hostName}";
|
||||
|
||||
p = "pnpm";
|
||||
px = "pnpm -s dlx";
|
||||
n = "fnm use --install-if-missing";
|
||||
c = "pwd | pbcopy";
|
||||
k = "kubectl";
|
||||
|
||||
vai = "sudo darwin-rebuild switch --flake ~/.config/nix-macos#${host.hostName}";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -58,12 +68,15 @@
|
||||
fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
if type -q oh-my-posh
|
||||
oh-my-posh init fish --config ~/.config/omp/config.yaml | source
|
||||
if type -q starship
|
||||
starship init fish | source
|
||||
end
|
||||
if type -q fnm
|
||||
fnm env --use-on-cd | source
|
||||
end
|
||||
if type -q nvs
|
||||
nvs env --source | source
|
||||
end
|
||||
'';
|
||||
};
|
||||
bash = {
|
||||
|
@@ -3,7 +3,6 @@ with pkgs;
|
||||
[
|
||||
# Base
|
||||
tmux
|
||||
oh-my-posh
|
||||
git
|
||||
git-lfs
|
||||
git-crypt
|
||||
@@ -19,9 +18,21 @@ with pkgs;
|
||||
tree
|
||||
wget
|
||||
woff2
|
||||
bat
|
||||
rsync
|
||||
yq
|
||||
delta
|
||||
|
||||
# Rust utils
|
||||
bat
|
||||
eza
|
||||
fd
|
||||
ripgrep
|
||||
ripgrep-all
|
||||
zoxide
|
||||
uutils-coreutils-noprefix
|
||||
dust
|
||||
yazi
|
||||
starship
|
||||
|
||||
# Dev
|
||||
devenv
|
||||
@@ -30,15 +41,19 @@ with pkgs;
|
||||
colima
|
||||
lazydocker
|
||||
exercism
|
||||
posting
|
||||
terraform
|
||||
k9s
|
||||
kubectl
|
||||
|
||||
# Editor
|
||||
nvs
|
||||
neovim
|
||||
fzf
|
||||
lazygit
|
||||
lua
|
||||
luajitPackages.luarocks
|
||||
ast-grep
|
||||
ripgrep
|
||||
|
||||
# Language specific
|
||||
nixfmt-rfc-style
|
||||
@@ -56,4 +71,5 @@ with pkgs;
|
||||
|
||||
# Fonts
|
||||
nerd-fonts.jetbrains-mono
|
||||
karla
|
||||
]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[
|
||||
(import ./mac14.nix)
|
||||
(import ./mac16.nix)
|
||||
(import ./ordio.nix)
|
||||
]
|
||||
|
@@ -2,15 +2,24 @@
|
||||
username = "cupcakearmy";
|
||||
hostName = "mac14";
|
||||
platform = "aarch64-darwin";
|
||||
sshKey = "legba";
|
||||
|
||||
extras = {
|
||||
casks = [
|
||||
"surfshark"
|
||||
"visual-studio-code"
|
||||
"signal"
|
||||
"discord"
|
||||
"daisydisk"
|
||||
"blender"
|
||||
"bambu-studio"
|
||||
];
|
||||
pkgs =
|
||||
pkgs: with pkgs; [
|
||||
biome
|
||||
infisical
|
||||
ffmpeg
|
||||
pulumi
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@@ -1,21 +0,0 @@
|
||||
{
|
||||
username = "niccoloborgioli";
|
||||
hostName = "mac16";
|
||||
platform = "aarch64-darwin";
|
||||
|
||||
extras = {
|
||||
casks = [
|
||||
"phpstorm"
|
||||
"datagrip"
|
||||
"tailscale"
|
||||
"android-studio"
|
||||
];
|
||||
pkgs =
|
||||
pkgs: with pkgs; [
|
||||
phrase-cli
|
||||
boundary
|
||||
awscli2
|
||||
_1password-cli
|
||||
];
|
||||
};
|
||||
}
|
33
hosts/ordio.nix
Normal file
33
hosts/ordio.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
username = "nicco";
|
||||
hostName = "ordio";
|
||||
platform = "aarch64-darwin";
|
||||
sshKey = "ordio";
|
||||
|
||||
extras = {
|
||||
casks = [
|
||||
"tableplus"
|
||||
"http-toolkit"
|
||||
"phpstorm"
|
||||
"notion"
|
||||
];
|
||||
pkgs =
|
||||
pkgs: with pkgs; [
|
||||
mkcert
|
||||
dnsmasq
|
||||
awscli2
|
||||
mysql84
|
||||
cocoapods
|
||||
xcodes
|
||||
|
||||
# For projects
|
||||
pixman
|
||||
pkg-config
|
||||
pango
|
||||
libpng
|
||||
giflib
|
||||
librsvg
|
||||
python313Packages.setuptools
|
||||
];
|
||||
};
|
||||
}
|
27
overlay.nix
Normal file
27
overlay.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
final: prev: {
|
||||
nvs = prev.buildGoModule rec {
|
||||
pname = "nvs";
|
||||
version = "1.10.5";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "cupcakearmy";
|
||||
repo = pname;
|
||||
# tag = "v${version}";
|
||||
rev = "1700f2751e969b77b7f7ab3cc16a4e0f3955ce14";
|
||||
sha256 = "sha256-RScXYxkrfLJp1nAgN2YgSRC4mLGK4yXsYjGBrDR00b8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-l2FdnXA+vKVRekcIKt1R+MxppraTsmo0b/B7RNqnxjA=";
|
||||
|
||||
# Completions
|
||||
nativeBuildInputs = [ prev.installShellFiles ];
|
||||
postInstall = ''
|
||||
export HOME=$TMPDIR
|
||||
installShellCompletion --cmd nvs \
|
||||
--bash <($out/bin/nvs completion bash) \
|
||||
--fish <($out/bin/nvs completion fish) \
|
||||
--zsh <($out/bin/nvs completion zsh)
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
BIN
secrets/configs/Raycast 2025-07-01 13.33.23.rayconfig
Normal file
BIN
secrets/configs/Raycast 2025-07-01 13.33.23.rayconfig
Normal file
Binary file not shown.
BIN
secrets/git/config.mac14
Normal file
BIN
secrets/git/config.mac14
Normal file
Binary file not shown.
BIN
secrets/git/config.ordio
Normal file
BIN
secrets/git/config.ordio
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
secrets/ssh/config.template
Normal file
BIN
secrets/ssh/config.template
Normal file
Binary file not shown.
Reference in New Issue
Block a user