Skip to content

Commit

Permalink
terraform is unfree now
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanwang-wf committed Oct 13, 2023
1 parent e06d7c3 commit a3c9d77
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
29 changes: 15 additions & 14 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,21 @@
inputs.treefmt-nix.flakeModule
inputs.haskell-flake.flakeModule
];
perSystem = { ... }: {
# _module.args.pkgs = import inputs.nixpkgs {
# inherit system;
# overlays = [
# (_final: _prev: {
# # https://gitlab.freedesktop.org/mesa/mesa/-/issues/8634
# mesa = if _prev.stdenv.isDarwin then inputs.nixpkgs-stable.legacyPackages.${_prev.system}.mesa else
# inputs.nixpkgs.legacyPackages.${_prev.system}.mesa;
# })
# ];
# config = {
# allowUnsupportedSystem = true;
# };
# };
perSystem = { system, ... }: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
# overlays = [
# (_final: _prev: {
# # https://gitlab.freedesktop.org/mesa/mesa/-/issues/8634
# mesa = if _prev.stdenv.isDarwin then inputs.nixpkgs-stable.legacyPackages.${_prev.system}.mesa else
# inputs.nixpkgs.legacyPackages.${_prev.system}.mesa;
# })
# ];
config = {
allowUnfree = true;
# allowUnsupportedSystem = true;
};
};
haskellProjects.default = {
projectRoot = ./packages;
settings = { };
Expand Down
17 changes: 10 additions & 7 deletions modules/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@
enable = true;
themes =
{
dracula = builtins.readFile (pkgs.fetchFromGitHub
{
owner = "dracula";
repo = "sublime"; # Bat uses sublime syntax for its themes
rev = "26c57ec282abcaa76e57e055f38432bd827ac34e";
sha256 = "019hfl4zbn4vm4154hh3bwk6hm7bdxbr1hdww83nabxwjn99ndhv";
} + "/Dracula.tmTheme");
dracula = {
src = pkgs.fetchFromGitHub
{
owner = "dracula";
repo = "sublime"; # Bat uses sublime syntax for its themes
rev = "26c57ec282abcaa76e57e055f38432bd827ac34e";
sha256 = "019hfl4zbn4vm4154hh3bwk6hm7bdxbr1hdww83nabxwjn99ndhv";
};
file = "/Dracula.tmTheme";
};
};
extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ];
};
Expand Down

0 comments on commit a3c9d77

Please sign in to comment.