home/exa: use package option from hm module
This commit is contained in:
parent
a19ba93fa8
commit
f9098c5f05
2 changed files with 10 additions and 7 deletions
12
flake.lock
12
flake.lock
|
@ -28,11 +28,11 @@
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1663099612,
|
"lastModified": 1663226109,
|
||||||
"narHash": "sha256-ucokjFDRwCFWbcGiqxz0mfHv82UqwyW7RXY6ZgKSl80=",
|
"narHash": "sha256-lLjR2WmNtfv/IokLIGFFy9YqAsSkRmKzGQuIwX2dxNA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "60c6bfe322944d04bb38e76b64effcbd01258824",
|
"rev": "ebd78308144165d65b28f80969a970b8213805b2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -43,11 +43,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1662996720,
|
"lastModified": 1663087123,
|
||||||
"narHash": "sha256-XvLQ3SuXnDMJMpM1sv1ifPjBuRytiDYhB12H/BNTjgY=",
|
"narHash": "sha256-cNIRkF/J4mRxDtNYw+9/fBNq/NOA2nCuPOa3EdIyeDs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5f326e2a403e1cebaec378e72ceaf5725983376d",
|
"rev": "9608ace7009ce5bc3aeb940095e01553e635cbc7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -20,7 +20,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [ exaPackage ];
|
programs.exa = {
|
||||||
|
enable = true;
|
||||||
|
package = exaPackage;
|
||||||
|
};
|
||||||
|
|
||||||
programs.zsh.shellAliases = mkIf zsh.enable rec {
|
programs.zsh.shellAliases = mkIf zsh.enable rec {
|
||||||
ls = "${bin} --oneline";
|
ls = "${bin} --oneline";
|
||||||
|
|
Loading…
Reference in a new issue