From 3d1a4f6a19769d1e420a3ee071fc2fd535d91b74 Mon Sep 17 00:00:00 2001 From: Sense T Date: Fri, 27 Oct 2023 14:11:06 +0800 Subject: [PATCH] update --- flake.lock | 12 ++++++------ home.nix | 7 +++++-- programs.nix | 3 ++- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 76e4991..60b83e0 100644 --- a/flake.lock +++ b/flake.lock @@ -25,11 +25,11 @@ ] }, "locked": { - "lastModified": 1696737557, - "narHash": "sha256-YD/pjDjj/BNmisEvRdM/vspkCU3xyyeGVAUWhvVSi5Y=", + "lastModified": 1698250431, + "narHash": "sha256-qs2gTeH4wpnWPO6Oi6sOhp2IhG0i0DzcnrJxIY3/CP8=", "owner": "nix-community", "repo": "home-manager", - "rev": "3c1d8758ac3f55ab96dcaf4d271c39da4b6e836d", + "rev": "09587fbbc6a669f7725613e044c2577dc5d43ab5", "type": "github" }, "original": { @@ -63,11 +63,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1696604326, - "narHash": "sha256-YXUNI0kLEcI5g8lqGMb0nh67fY9f2YoJsILafh6zlMo=", + "lastModified": 1698134075, + "narHash": "sha256-foCD+nuKzfh49bIoiCBur4+Fx1nozo+4C/6k8BYk4sg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "87828a0e03d1418e848d3dd3f3014a632e4a4f64", + "rev": "8efd5d1e283604f75a808a20e6cde0ef313d07d4", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index 13e55c2..4ab3fd2 100644 --- a/home.nix +++ b/home.nix @@ -25,6 +25,11 @@ proxychains-ng nil coreutils + + # temp develop pkgs below + virtualenv + python39 + rustup ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage @@ -46,8 +51,6 @@ # # if you don't want to manage your shell through Home Manager. home.sessionVariables = { - # EDITOR = "emacs"; - TZ = "Asia/Shanghai"; LANG = "zh_CN.UTF-8"; GOPROXY = "https://goproxy.cn,direct"; PKG_CONFIG_PATH = "$HOME/.nix-profile/lib/pkgconfig"; diff --git a/programs.nix b/programs.nix index fb3864e..bf516b6 100644 --- a/programs.nix +++ b/programs.nix @@ -1,5 +1,6 @@ { pkgs, ... }: { programs = { + command-not-found.enable = true; home-manager.enable = true; bat = { @@ -48,7 +49,7 @@ }; go = { - enable = false; + enable = true; goPath = ".local/go"; };