From 37f4f2362cfa4df35c1f583e05ad1849c260b2a5 Mon Sep 17 00:00:00 2001 From: minco Date: Thu, 5 Feb 2026 20:10:18 +0900 Subject: [PATCH] dfg --- configuration.nix | 7 ++++--- modules/home/fish.nix | 1 + pkgs/programming.nix | 1 + pkgs/tools.nix | 1 + pkgs/util.nix | 4 ++++ 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 77c01e3..0cc60a4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -20,7 +20,9 @@ in nixpkgs.config.allowUnfree = true; - + boot.kernel.sysctl = { + "net.ipv4.ip_forward" = 1; + }; #boot.loader.grub.device = "/dev/nvme1n1p1"; boot.loader = { @@ -39,7 +41,6 @@ in networking.hostName = "haskell"; # Define your hostname. - programs.steam.enable = true; programs.fish.enable = true; @@ -77,7 +78,7 @@ in # Define a user account. Don't forget to set a password with ‘passwd’. users.users.allen = { isNormalUser = true; - extraGroups = [ "wheel" "podman" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "podman" "dialout" ]; # Enable ‘sudo’ for the user. shell = pkgs.fish; home = "/home/allen"; packages = with pkgs; [ tree ]; diff --git a/modules/home/fish.nix b/modules/home/fish.nix index 7f8b6de..93dda5b 100644 --- a/modules/home/fish.nix +++ b/modules/home/fish.nix @@ -17,6 +17,7 @@ set -gx PKG_CONFIG_PATH ${pkgs.openssl.dev}/lib/pkgconfig; set -gx KUBECONFIG $HOME/.kube/config; set -x NIX_DEV_SHELL_DEFAULT_SHELL (which fish) + set -q KREW_ROOT; and set -gx PATH $PATH $KREW_ROOT/.krew/bin; or set -gx PATH $PATH $HOME/.krew/bin alias lg="lazygit" alias v="nvim" alias c="clear" diff --git a/pkgs/programming.nix b/pkgs/programming.nix index d666ed0..002369b 100644 --- a/pkgs/programming.nix +++ b/pkgs/programming.nix @@ -59,4 +59,5 @@ with pkgs; [ haskellPackages.zlib zlib.dev fourmolu + platformio ] diff --git a/pkgs/tools.nix b/pkgs/tools.nix index bde21d8..387f5e0 100644 --- a/pkgs/tools.nix +++ b/pkgs/tools.nix @@ -52,4 +52,5 @@ with pkgs; [ google-chrome speed-cloudflare-cli zathura + gpredict ] diff --git a/pkgs/util.nix b/pkgs/util.nix index 15cc5ae..8f2e611 100644 --- a/pkgs/util.nix +++ b/pkgs/util.nix @@ -66,4 +66,8 @@ with pkgs; [ hyprpicker rtl-sdr openvpn + krew + jadx + tre-command + gptfdisk ]