mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-09-06 02:40: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"
|
"lihaoyun6/tap/quickrecorder"
|
||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
"docker"
|
"docker-desktop"
|
||||||
"sloth"
|
"sloth"
|
||||||
"vscodium"
|
"vscodium"
|
||||||
"bruno"
|
"bruno"
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
nix.enable = false;
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
nix.settings.experimental-features = "nix-command flakes";
|
||||||
|
|
||||||
# Set Git commit hash for darwin-version.
|
# Set Git commit hash for darwin-version.
|
||||||
@@ -69,6 +70,13 @@
|
|||||||
remapCapsLockToEscape = true;
|
remapCapsLockToEscape = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Power
|
||||||
|
power = {
|
||||||
|
sleep = {
|
||||||
|
computer = "never";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
system.startup.chime = false;
|
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
|
excludesfile = ~/.gitignore_global
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
ignorecase=false
|
ignorecase=false
|
||||||
[commit]
|
|
||||||
gpgsign = false
|
|
||||||
|
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = false
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
autoSetupRemote = true
|
autoSetupRemote = true
|
||||||
[branch]
|
[branch]
|
||||||
sort = -committerdate
|
sort = -committerdate
|
||||||
[alias]
|
[alias]
|
||||||
fpush = push --force-with-lease
|
fpush = push --force-with-lease
|
||||||
|
[tag]
|
||||||
|
gpgsign = true
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
|
||||||
[include]
|
[include]
|
||||||
path = ~/.gitconfig.local
|
path = ~/.gitconfig.local
|
||||||
|
@@ -29,11 +29,13 @@
|
|||||||
".config/ghostty/config".source = ../files/ghostty/config;
|
".config/ghostty/config".source = ../files/ghostty/config;
|
||||||
".gitconfig".source = ../files/git/gitconfig;
|
".gitconfig".source = ../files/git/gitconfig;
|
||||||
".gitignore_global".source = ../files/git/gitignore_global;
|
".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;
|
".config/nvim".source = ../files/nvim;
|
||||||
|
|
||||||
# Secrets
|
# Secrets
|
||||||
".ssh/config".source = ../secrets/ssh/config;
|
".ssh/config".text = builtins.replaceStrings [ "@SSH_KEY@" ] [ host.sshKey ] (
|
||||||
|
builtins.readFile ../secrets/ssh/config.template
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
[
|
[
|
||||||
(import ./mac14.nix)
|
(import ./mac14.nix)
|
||||||
(import ./mac16.nix)
|
|
||||||
(import ./ordio.nix)
|
(import ./ordio.nix)
|
||||||
]
|
]
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
username = "cupcakearmy";
|
username = "cupcakearmy";
|
||||||
hostName = "mac14";
|
hostName = "mac14";
|
||||||
platform = "aarch64-darwin";
|
platform = "aarch64-darwin";
|
||||||
|
sshKey = "legba";
|
||||||
|
|
||||||
extras = {
|
extras = {
|
||||||
casks = [
|
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";
|
username = "nicco";
|
||||||
hostName = "ordio";
|
hostName = "ordio";
|
||||||
platform = "aarch64-darwin";
|
platform = "aarch64-darwin";
|
||||||
|
sshKey = "ordio";
|
||||||
|
|
||||||
extras = {
|
extras = {
|
||||||
casks = [
|
casks = [
|
||||||
|
"tableplus"
|
||||||
|
"http-toolkit"
|
||||||
|
"phpstorm"
|
||||||
];
|
];
|
||||||
pkgs =
|
pkgs =
|
||||||
pkgs: with 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