Skip to content

Commit

Permalink
feat: utilize nixpkgs charm-freeze and setup alias for custom config
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarrio committed Jun 18, 2024
1 parent 1308535 commit 08afed7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
8 changes: 6 additions & 2 deletions home-manager/_mixins/console/charm-freeze.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{ pkgs, ... }: {
home.packages = with pkgs; [ charm-freeze ];

home.file.".config/freeze/user.json".text = builtins.readFile ./charm-freeze/config.json;
}
home.file.".config/freeze/custom.json".text = builtins.readFile ./charm-freeze/config.json;

programs.fish.shellAliases = {
frz = "freeze -c $HOME/.config/freeze/custom.json";
};
}
26 changes: 0 additions & 26 deletions pkgs/charm-freeze.nix

This file was deleted.

1 change: 0 additions & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
{ pkgs ? (import ../nixpkgs.nix) { } }: {
auth0 = pkgs.callPackage ./auth0.nix { };
ente-photos-desktop = pkgs.callPackage ./ente.nix { };
charm-freeze = pkgs.callPackage ./charm-freeze.nix { };
tte = pkgs.callPackage (pkgs.fetchFromGitHub {
owner = "ChrisBuilds";
repo = "terminaltexteffects";
Expand Down

0 comments on commit 08afed7

Please sign in to comment.