mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:48:11 +09:00
add profiles
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
home.packages =
|
||||
with pkgs;
|
||||
[
|
||||
bind
|
||||
bun
|
||||
nil
|
||||
python312
|
||||
uv
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ drawio ];
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
description = "software development workload";
|
||||
|
||||
includes = [
|
||||
"applications.arduino"
|
||||
"applications.claude"
|
||||
"applications.codex"
|
||||
"applications.codex-desktop"
|
||||
"applications.docker"
|
||||
"applications.grok"
|
||||
"applications.java"
|
||||
"applications.opencode"
|
||||
"applications.vscode"
|
||||
"applications.zed"
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
documentation.doc.enable = false;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
description = "personal communication and browser workload";
|
||||
|
||||
includes = [
|
||||
"applications.chrome"
|
||||
"applications.discord"
|
||||
"applications.slack"
|
||||
"applications.zoom"
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
description = "remote-access workload";
|
||||
|
||||
includes = [ "services.openssh" ];
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
description = "secure boot and TPM-backed storage";
|
||||
|
||||
includes = [
|
||||
"systems.boot.secure-boot"
|
||||
"systems.boot.storage-crypto"
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
description = "server workload";
|
||||
|
||||
includes = [
|
||||
"applications.docker"
|
||||
"services.openssh"
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
description = "Tailscale client";
|
||||
|
||||
includes = [ "services.tailscale" ];
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
services.tailscale = {
|
||||
useRoutingFeatures = lib.mkForce "client";
|
||||
extraSetFlags = lib.mkForce [
|
||||
"--accept-dns=false"
|
||||
"--accept-routes=true"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
description = "Tailscale subnet-router server";
|
||||
|
||||
includes = [ "services.tailscale" ];
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
services.tailscale = {
|
||||
useRoutingFeatures = lib.mkForce "server";
|
||||
extraSetFlags = lib.mkForce [
|
||||
"--accept-dns=false"
|
||||
"--accept-routes=false"
|
||||
"--advertise-routes=10.50.0.0/16"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user