working on zsh
This commit is contained in:
+335
-338
File diff suppressed because it is too large
Load Diff
+1
-4
@@ -650,7 +650,7 @@ This will import all packages listed in ./assets/common/apps/packlages.conf
|
||||
#+BEGIN_SRC nix :tangle generated/system/applications/packages.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, lib, pkgs, flakeRoot, inputs, ... }:
|
||||
let
|
||||
packagesConfPath = flakeRoot.outPath + "/assets/conf/apps/packages.conf";
|
||||
packagesConfPath = "${builtins.toString flakeRoot.outPath}/assets/conf/apps/packages.conf";
|
||||
raw = builtins.readFile packagesConfPath;
|
||||
# IMPORTANT: explicit "\n" so we never accidentally split into characters
|
||||
rawLines = lib.splitString "\n" raw;
|
||||
@@ -1329,7 +1329,6 @@ in
|
||||
zsh-syntax-highlighting
|
||||
starship
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
@@ -1352,12 +1351,10 @@ in
|
||||
ll = "exa --icons -la --group-directories-first";
|
||||
};
|
||||
};
|
||||
|
||||
# Use the .zshrc file from assets
|
||||
xdg.configFile."zsh/.zshrc".source = "${assetsDir}/.zshrc";
|
||||
};
|
||||
}
|
||||
|
||||
#+END_SRC
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ config, lib, pkgs, flakeRoot, inputs, ... }:
|
||||
let
|
||||
packagesConfPath = flakeRoot.outPath + "/assets/conf/apps/packages.conf";
|
||||
packagesConfPath = "${builtins.toString flakeRoot.outPath}/assets/conf/apps/packages.conf";
|
||||
raw = builtins.readFile packagesConfPath;
|
||||
# IMPORTANT: explicit "\n" so we never accidentally split into characters
|
||||
rawLines = lib.splitString "\n" raw;
|
||||
|
||||
@@ -9,7 +9,6 @@ in
|
||||
zsh-syntax-highlighting
|
||||
starship
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
@@ -32,7 +31,6 @@ in
|
||||
ll = "exa --icons -la --group-directories-first";
|
||||
};
|
||||
};
|
||||
|
||||
# Use the .zshrc file from assets
|
||||
xdg.configFile."zsh/.zshrc".source = "${assetsDir}/.zshrc";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user