home/exa: use package option from hm module

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-15 10:31:32 +03:00
parent a19ba93fa8
commit f9098c5f05
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 10 additions and 7 deletions

View file

@ -28,11 +28,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1663099612,
"narHash": "sha256-ucokjFDRwCFWbcGiqxz0mfHv82UqwyW7RXY6ZgKSl80=",
"lastModified": 1663226109,
"narHash": "sha256-lLjR2WmNtfv/IokLIGFFy9YqAsSkRmKzGQuIwX2dxNA=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "60c6bfe322944d04bb38e76b64effcbd01258824",
"rev": "ebd78308144165d65b28f80969a970b8213805b2",
"type": "github"
},
"original": {
@ -43,11 +43,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1662996720,
"narHash": "sha256-XvLQ3SuXnDMJMpM1sv1ifPjBuRytiDYhB12H/BNTjgY=",
"lastModified": 1663087123,
"narHash": "sha256-cNIRkF/J4mRxDtNYw+9/fBNq/NOA2nCuPOa3EdIyeDs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5f326e2a403e1cebaec378e72ceaf5725983376d",
"rev": "9608ace7009ce5bc3aeb940095e01553e635cbc7",
"type": "github"
},
"original": {

View file

@ -20,7 +20,10 @@ in
};
config = mkIf cfg.enable {
home.packages = [ exaPackage ];
programs.exa = {
enable = true;
package = exaPackage;
};
programs.zsh.shellAliases = mkIf zsh.enable rec {
ls = "${bin} --oneline";