mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-09-05 18:30:39 +00:00
Compare commits
8 Commits
5708bd1509
...
3b500da3a4
Author | SHA1 | Date | |
---|---|---|---|
3b500da3a4 | |||
4031657854 | |||
bb9aa33132 | |||
309c4c8d02 | |||
e746a81578 | |||
3a7470cce7 | |||
a4d815202e | |||
1dc5eb19f5 |
2
cask.nix
2
cask.nix
@@ -15,7 +15,7 @@
|
||||
"lihaoyun6/tap/quickrecorder"
|
||||
|
||||
# Dev
|
||||
"docker"
|
||||
"docker-desktop"
|
||||
"sloth"
|
||||
"vscodium"
|
||||
"bruno"
|
||||
|
@@ -6,6 +6,7 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix.enable = false;
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
# Set Git commit hash for darwin-version.
|
||||
@@ -69,6 +70,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
|
@@ -7,18 +7,19 @@
|
||||
excludesfile = ~/.gitignore_global
|
||||
autocrlf = input
|
||||
ignorecase=false
|
||||
[commit]
|
||||
gpgsign = false
|
||||
|
||||
[pull]
|
||||
rebase = false
|
||||
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
[branch]
|
||||
sort = -committerdate
|
||||
[alias]
|
||||
fpush = push --force-with-lease
|
||||
[tag]
|
||||
gpgsign = true
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
||||
[include]
|
||||
path = ~/.gitconfig.local
|
||||
|
@@ -29,11 +29,13 @@
|
||||
".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 = {
|
||||
|
@@ -1,5 +1,4 @@
|
||||
[
|
||||
(import ./mac14.nix)
|
||||
(import ./mac16.nix)
|
||||
(import ./ordio.nix)
|
||||
]
|
||||
|
@@ -2,6 +2,7 @@
|
||||
username = "cupcakearmy";
|
||||
hostName = "mac14";
|
||||
platform = "aarch64-darwin";
|
||||
sshKey = "legba";
|
||||
|
||||
extras = {
|
||||
casks = [
|
||||
|
@@ -1,22 +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
|
||||
vault
|
||||
];
|
||||
};
|
||||
}
|
@@ -2,12 +2,18 @@
|
||||
username = "nicco";
|
||||
hostName = "ordio";
|
||||
platform = "aarch64-darwin";
|
||||
sshKey = "ordio";
|
||||
|
||||
extras = {
|
||||
casks = [
|
||||
"tableplus"
|
||||
"http-toolkit"
|
||||
"phpstorm"
|
||||
];
|
||||
pkgs =
|
||||
pkgs: with pkgs; [
|
||||
mkcert
|
||||
dnsmasq
|
||||
];
|
||||
};
|
||||
}
|
||||
|
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