mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 09:08:12 +09:00
feat
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
|
||||
blueman.enable = true; # Bluetooth Support
|
||||
@@ -17,7 +18,13 @@
|
||||
};
|
||||
};
|
||||
|
||||
tailscale.enable = true;
|
||||
tailscale = {
|
||||
enable = true;
|
||||
extraUpFlags = [
|
||||
"--accept-dns=false"
|
||||
"--accept-routes"
|
||||
];
|
||||
};
|
||||
|
||||
pipewire = {
|
||||
enable = true;
|
||||
@@ -63,8 +70,14 @@
|
||||
];
|
||||
xdgOpenUsePortal = true;
|
||||
config = {
|
||||
common.default = [ "wlr" "gtk" ];
|
||||
niri.default = [ "wlr" "gtk" ];
|
||||
common.default = [
|
||||
"wlr"
|
||||
"gtk"
|
||||
];
|
||||
niri.default = [
|
||||
"wlr"
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -9,8 +9,7 @@ in
|
||||
programs.niri.settings = {
|
||||
input.touchpad = {
|
||||
natural-scroll = true;
|
||||
scroll-factor = 1.0;
|
||||
accel-speed = 0.3;
|
||||
scroll-factor = 4.0;
|
||||
scroll-method = "two-finger";
|
||||
click-method = "clickfinger";
|
||||
drag = true;
|
||||
|
||||
+22
-1
@@ -1,10 +1,31 @@
|
||||
{ config, lib, pkgs, host, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
host,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
home.packages = [ pkgs.openssh ];
|
||||
|
||||
programs.ssh = {
|
||||
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 = ''
|
||||
Host *
|
||||
AddKeysToAgent yes
|
||||
|
||||
+17
-11
@@ -1,16 +1,23 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
py = pkgs.python312;
|
||||
pyEnv = py.withPackages (ps: with ps; [
|
||||
ipykernel
|
||||
notebook
|
||||
jupyterlab
|
||||
numpy
|
||||
pandas
|
||||
matplotlib
|
||||
scipy
|
||||
scikit-learn
|
||||
]);
|
||||
pyEnv = py.withPackages (
|
||||
ps: with ps; [
|
||||
ipykernel
|
||||
notebook
|
||||
jupyterlab
|
||||
numpy
|
||||
pandas
|
||||
matplotlib
|
||||
scipy
|
||||
scikit-learn
|
||||
|
||||
pyathena
|
||||
python-dotenv
|
||||
plotly
|
||||
seaborn
|
||||
]
|
||||
);
|
||||
in
|
||||
pkgs.mkShell {
|
||||
name = "jupyter-notebook";
|
||||
@@ -27,7 +34,6 @@ pkgs.mkShell {
|
||||
shellHook = ''
|
||||
set -e
|
||||
|
||||
# ---- show tool versions
|
||||
if command -v python >/dev/null; then
|
||||
echo "📓 jupyter shell → python $(python -V | awk '{print $2}')"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user