testing ghostty and lock update, which results in some build errors. rocmrocmrocm
This commit is contained in:
16
modules/nixos/programs/ghostty/default.nix
Normal file
16
modules/nixos/programs/ghostty/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.nixos.programs.ghostty;
|
||||
in {
|
||||
options = {
|
||||
nixos.programs.ghostty.enable = mkEnableOption "Enables ghostty";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [inputs.ghostty.packages.x86_64-linux.default];
|
||||
};
|
||||
}
|
||||
@@ -13,7 +13,6 @@ in {
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
bottles
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user