From c5224d9941c33e212e148c6b280183460525d08f Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Sat, 27 Apr 2024 13:09:00 -0700 Subject: [PATCH] conf --- flake.nix | 26 +++++++++++++------------- users/tao/helix.nix | 2 +- users/tao/nushell/stuff.nu | 6 +++++- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/flake.nix b/flake.nix index 4514d50..ffbc4f0 100644 --- a/flake.nix +++ b/flake.nix @@ -18,14 +18,14 @@ inputs.nixpkgs.follows = "nixpkgs"; }; # stylix.url = "github:danth/stylix"; - helix = { - url = "github:the-mikedavis/helix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - jujutsu = { - url = "github:martinvonz/jj"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + # helix = { + # url = "github:the-mikedavis/helix"; + # inputs.nixpkgs.follows = "nixpkgs"; + # }; + # jujutsu = { + # url = "github:martinvonz/jj"; + # inputs.nixpkgs.follows = "nixpkgs"; + # }; nixos-cosmic = { url = "github:lilyinstarlight/nixos-cosmic"; inputs.nixpkgs.follows = "nixpkgs"; @@ -37,11 +37,11 @@ nixConfig = { extra-substituters = [ "https://cosmic.cachix.org/" - "https://helix.cachix.org/" + # "https://helix.cachix.org/" ]; extra-trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" - "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" + # "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" ]; }; @@ -54,8 +54,8 @@ home-manager, plasma-manager, # stylix, - helix, - jujutsu, + # helix, + # jujutsu, nixos-cosmic, ... } @ inputs: { @@ -94,7 +94,7 @@ ./extras/dev.nix ./extras/gaming.nix nixos-cosmic.nixosModules.default - # ./extras/cosmic.nix + ./extras/cosmic.nix ]; }; NOmom = nixpkgs.lib.nixosSystem { diff --git a/users/tao/helix.nix b/users/tao/helix.nix index 5b21b79..0a09c6e 100644 --- a/users/tao/helix.nix +++ b/users/tao/helix.nix @@ -33,7 +33,7 @@ smart-tab.supersede-menu = false; }; keys.insert = { - # C-space = + C-space = "completion"; }; keys.normal = { k = "move_line_down"; diff --git a/users/tao/nushell/stuff.nu b/users/tao/nushell/stuff.nu index c890bee..2fab5a4 100644 --- a/users/tao/nushell/stuff.nu +++ b/users/tao/nushell/stuff.nu @@ -10,7 +10,7 @@ def bump [] { }; def tse [exit_node] { - tailscale set --exit-node="$exit_node" + tailscale set --exit-node=$exit_node } alias b = btm; @@ -33,4 +33,8 @@ def l [] { ls | sort-by type } +def c [] { + cd; l; +} + task