This commit is contained in:
2025-12-25 14:59:11 +09:00
parent 8897dade07
commit 50e49e8454
4 changed files with 58 additions and 19 deletions
+18 -5
View File
@@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
services = { services = {
blueman.enable = true; # Bluetooth Support blueman.enable = true; # Bluetooth Support
@@ -17,7 +18,13 @@
}; };
}; };
tailscale.enable = true; tailscale = {
enable = true;
extraUpFlags = [
"--accept-dns=false"
"--accept-routes"
];
};
pipewire = { pipewire = {
enable = true; enable = true;
@@ -63,8 +70,14 @@
]; ];
xdgOpenUsePortal = true; xdgOpenUsePortal = true;
config = { config = {
common.default = [ "wlr" "gtk" ]; common.default = [
niri.default = [ "wlr" "gtk" ]; "wlr"
"gtk"
];
niri.default = [
"wlr"
"gtk"
];
}; };
}; };
} }
+1 -2
View File
@@ -9,8 +9,7 @@ in
programs.niri.settings = { programs.niri.settings = {
input.touchpad = { input.touchpad = {
natural-scroll = true; natural-scroll = true;
scroll-factor = 1.0; scroll-factor = 4.0;
accel-speed = 0.3;
scroll-method = "two-finger"; scroll-method = "two-finger";
click-method = "clickfinger"; click-method = "clickfinger";
drag = true; drag = true;
+22 -1
View File
@@ -1,10 +1,31 @@
{ config, lib, pkgs, host, ... }: {
config,
lib,
pkgs,
host,
...
}:
{ {
home.packages = [ pkgs.openssh ]; home.packages = [ pkgs.openssh ];
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks = {
"grafana.moons14.com" = {
host = "grafana.moons14.com";
identityFile = "~/.ssh/id_ed25519_sk_rk";
identitiesOnly = true;
};
"dev-1.moons14.com" = {
host = "dev-1.moons14.com";
identityFile = "~/.ssh/id_ed25519_sk_rk";
identitiesOnly = true;
};
};
extraConfig = '' extraConfig = ''
Host * Host *
AddKeysToAgent yes AddKeysToAgent yes
+17 -11
View File
@@ -1,16 +1,23 @@
{ pkgs }: { pkgs }:
let let
py = pkgs.python312; py = pkgs.python312;
pyEnv = py.withPackages (ps: with ps; [ pyEnv = py.withPackages (
ipykernel ps: with ps; [
notebook ipykernel
jupyterlab notebook
numpy jupyterlab
pandas numpy
matplotlib pandas
scipy matplotlib
scikit-learn scipy
]); scikit-learn
pyathena
python-dotenv
plotly
seaborn
]
);
in in
pkgs.mkShell { pkgs.mkShell {
name = "jupyter-notebook"; name = "jupyter-notebook";
@@ -27,7 +34,6 @@ pkgs.mkShell {
shellHook = '' shellHook = ''
set -e set -e
# ---- show tool versions
if command -v python >/dev/null; then if command -v python >/dev/null; then
echo "📓 jupyter shell → python $(python -V | awk '{print $2}')" echo "📓 jupyter shell → python $(python -V | awk '{print $2}')"
fi fi