mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
refactor: statix, deadnix, alejandra
This commit is contained in:
parent
961ec369ba
commit
53eed4454d
57 changed files with 1296 additions and 963 deletions
|
|
@ -1,5 +1,92 @@
|
|||
_: let
|
||||
hostConfig = _: {
|
||||
hostConfig = {tree, ...}: {
|
||||
imports = with tree; [
|
||||
darwin.base
|
||||
darwin.kat
|
||||
];
|
||||
|
||||
security.pam.enableSudoTouchIdAuth = true;
|
||||
|
||||
home-manager.users.root.programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"daiyousei-build" = {
|
||||
hostname = "daiyousei.kittywit.ch";
|
||||
port = 62954;
|
||||
user = "root";
|
||||
};
|
||||
"renko-build" = {
|
||||
hostname = "192.168.64.3";
|
||||
port = 62954;
|
||||
user = "root";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
envVars = {
|
||||
"SSH_AUTH_SOCK" = "/Users/kat/.gnupg/S.gpg-agent.ssh";
|
||||
};
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "renko-build";
|
||||
sshUser = "root";
|
||||
system = "x86_64-linux";
|
||||
maxJobs = 100;
|
||||
speedFactor = 1;
|
||||
supportedFeatures = ["benchmark" "big-parallel" "kvm"];
|
||||
mandatoryFeatures = [];
|
||||
}
|
||||
{
|
||||
hostName = "daiyousei-build";
|
||||
sshUser = "root";
|
||||
system = "aarch64-linux";
|
||||
maxJobs = 100;
|
||||
speedFactor = 1;
|
||||
supportedFeatures = ["benchmark" "big-parallel" "kvm"];
|
||||
mandatoryFeatures = [];
|
||||
}
|
||||
];
|
||||
distributedBuilds = true;
|
||||
};
|
||||
|
||||
homebrew = {
|
||||
brewPrefix = "/opt/homebrew/bin";
|
||||
brews = [
|
||||
"gnupg"
|
||||
"pinentry-mac"
|
||||
];
|
||||
casks = [
|
||||
"utm"
|
||||
"discord"
|
||||
"mullvadvpn"
|
||||
"bitwarden"
|
||||
"deluge"
|
||||
"telegram-desktop"
|
||||
"spotify"
|
||||
"element"
|
||||
"signal"
|
||||
"brave-browser"
|
||||
"disk-inventory-x"
|
||||
"dozer"
|
||||
"firefox"
|
||||
"devtoys"
|
||||
"cyberduck"
|
||||
"docker"
|
||||
"pycharm-ce"
|
||||
"slack"
|
||||
"boop"
|
||||
"obsidian"
|
||||
"contexts"
|
||||
];
|
||||
masApps = {
|
||||
Tailscale = 1475387142;
|
||||
Dato = 1470584107;
|
||||
Lungo = 1263070803;
|
||||
"Battery Indicator" = 1206020918;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = 4;
|
||||
};
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue