1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 04:27:46 +00:00

Don't need Nix expressions in environment.nu anymore

This commit is contained in:
RGBCube 2024-05-08 13:35:59 +03:00
parent f44bab8a5e
commit 4f3d434d3a
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -1,4 +1,3 @@
{ lib, ... }: ''
$env.config = { $env.config = {
bracketed_paste: true bracketed_paste: true
buffer_editor: "" buffer_editor: ""
@ -390,4 +389,3 @@ $env.config.keybindings = [
] ]
source ~/.config/nushell/zoxide.nu source ~/.config/nushell/zoxide.nu
''

View file

@ -36,7 +36,7 @@
programs.nushell = enabled { programs.nushell = enabled {
package = pkgs.nushellFull; package = pkgs.nushellFull;
configFile.text = import ./configuration.nix.nu inputs; configFile.text = readFile ./configuration.nu;
envFile.source = ./environment.nu; envFile.source = ./environment.nu;
environmentVariables = mapAttrs (_: value: ''"${value}"'') config.environment.variables; environmentVariables = mapAttrs (_: value: ''"${value}"'') config.environment.variables;