Add nix configuration

main
jri 9 months ago
parent 38acebea6f
commit 8e6671f016

@ -4,6 +4,7 @@ ignored = [
{{#if-not-installed podman}}"nushell/completions/podman.nu",{{/if-not-installed}} {{#if-not-installed podman}}"nushell/completions/podman.nu",{{/if-not-installed}}
{{#if-not-installed fnm}}"nushell/fnm.nu",{{/if-not-installed}} {{#if-not-installed fnm}}"nushell/fnm.nu",{{/if-not-installed}}
{{#if-not-installed bottom}}"bottom",{{/if-not-installed}} {{#if-not-installed bottom}}"bottom",{{/if-not-installed}}
{{#if-not-installed nix}}"nixpkgs",{{/if-not-installed}}
{{#if flags.windows}} {{#if flags.windows}}
# Files irrelevant to windows # Files irrelevant to windows

@ -0,0 +1,4 @@
{pkgs, ... }: {
targets.genericLinux.enable = true;
home.packages = [ pkgs.jdk8 ];
}

@ -72,3 +72,7 @@ $env.GIT_PAGER = "most"
$env.LC_ALL = en_GB.UTF-8 $env.LC_ALL = en_GB.UTF-8
{{/if}} {{/if}}
$env.HELIX_RUNTIME = {{dirs.config}}/helix/runtime $env.HELIX_RUNTIME = {{dirs.config}}/helix/runtime
{{#if-installed nix}}
$env.NIX_PATH = $"{{dirs.home}}/.nix-defexpr/channels:($env.NIX_PATH)"
{{/if-installed}}

Loading…
Cancel
Save