my NixOS and nix-darwin config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

set up jujutsu for signing

+52 -2
+1
hosts/Daedalus/default.nix
··· 78 78 79 79 # Necessary for using flakes on this system. 80 80 nix.settings.experimental-features = "nix-command flakes"; 81 + # nix.settings.http2 = false; 81 82 nix.enable = false; 82 83 # Set Git commit hash for darwin-version. 83 84 system.configurationRevision = outputs.rev or outputs.dirtyRev or null;
+1 -2
modules/home/tools/default.nix
··· 9 9 ./helix 10 10 ./zellij 11 11 ./zk 12 + ./jujutsu 12 13 ./git.nix 13 14 ./btop.nix 14 15 ··· 19 20 # }\${LIBRARY_PATH:+:$LIBRARY_PATH}"; 20 21 21 22 home.packages = with pkgs; [ 22 - jujutsu 23 - 24 23 spicetify-cli 25 24 26 25 zoxide
+19
modules/home/tools/jujutsu/config.toml
··· 1 + #:schema https://docs.jj-vcs.dev/latest/config-schema.json 2 + 3 + [user] 4 + name = "suri-codes" 5 + email = "suri312006@gmail.com" 6 + 7 + [ui] 8 + default-command = ["log", "--reversed"] 9 + 10 + [revset-aliases] 11 + "immutable_heads()" = "builtin_immutable_heads() | (trunk().. & ~mine())" 12 + 13 + [signing] 14 + behavior = "own" 15 + backend = "ssh" 16 + key = "~/.ssh/signing_key.pub" 17 + 18 + [git] 19 + write-change-id-header = true
+30
modules/home/tools/jujutsu/default.nix
··· 1 + { 2 + config, 3 + pkgs, 4 + lib, 5 + ... 6 + }: 7 + with lib; 8 + let 9 + cfg = config.nyx.jujutsu; 10 + in 11 + { 12 + options.nyx.jujutsu = { 13 + enable = mkEnableOption "Jujutsu VCS"; 14 + }; 15 + 16 + config = mkIf (cfg.enable) { 17 + 18 + home.packages = with pkgs; [ 19 + jujutsu 20 + ]; 21 + 22 + home.file = { 23 + 24 + "${config.home.homeDirectory}/.config/jj/config.toml".source = 25 + config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/Nyx/modules/home/tools/jujutsu/config.toml"; 26 + 27 + }; 28 + }; 29 + 30 + }
+1
users/suri/common.nix
··· 11 11 nyx.zellij.enable = true; 12 12 nyx.helix.enable = true; 13 13 nyx.zk.enable = true; 14 + nyx.jujutsu.enable = true; 14 15 15 16 programs.direnv = { 16 17 enable = true;