feat: Added ghostty
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
# '';
|
# '';
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
privacy-badger
|
privacy-badger
|
||||||
|
violentmonkey
|
||||||
tridactyl
|
tridactyl
|
||||||
clearurls
|
clearurls
|
||||||
onepassword-password-manager
|
onepassword-password-manager
|
||||||
|
|||||||
@@ -20,23 +20,29 @@ lib.attrsets.optionalAttrs device.hasGui {
|
|||||||
WantedBy = ["graphical-session.target"];
|
WantedBy = ["graphical-session.target"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# home.file = lib.optionalAttrs device.isMac {
|
|
||||||
# "Applications/1Password.app".source = "${pkgs._1password-gui}/Applications/1Password.app";
|
|
||||||
# };
|
|
||||||
|
|
||||||
# Only for checking markdown previews
|
programs = {
|
||||||
vscode = {
|
# Only for checking markdown previews
|
||||||
enable = true;
|
vscode = {
|
||||||
package = pkgs.vscodium;
|
enable = true;
|
||||||
extensions = with pkgs.vscode-extensions; [
|
package = pkgs.vscodium;
|
||||||
shd101wyy.markdown-preview-enhanced
|
extensions = with pkgs.vscode-extensions; [
|
||||||
asvetliakov.vscode-neovim
|
shd101wyy.markdown-preview-enhanced
|
||||||
];
|
asvetliakov.vscode-neovim
|
||||||
|
];
|
||||||
|
};
|
||||||
|
# ghostty = {
|
||||||
|
# enable = true;
|
||||||
|
# installBatSyntax = false;
|
||||||
|
# package =
|
||||||
|
# if pkgs.stdenv.isLinux
|
||||||
|
# then pkgs.ghostty
|
||||||
|
# else pkgs.hello;
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
[]
|
[]
|
||||||
++ lib.optionals pkgs.stdenv.isLinux [
|
++ lib.optionals pkgs.stdenv.isLinux [
|
||||||
ghostty
|
|
||||||
(mpv-unwrapped.wrapper {mpv = mpv-unwrapped.override {sixelSupport = true;};})
|
(mpv-unwrapped.wrapper {mpv = mpv-unwrapped.override {sixelSupport = true;};})
|
||||||
abaddon
|
abaddon
|
||||||
catppuccinThemes.gtk
|
catppuccinThemes.gtk
|
||||||
|
|||||||
12
flake.lock
generated
12
flake.lock
generated
@@ -1060,11 +1060,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736508663,
|
"lastModified": 1736785676,
|
||||||
"narHash": "sha256-ZOaGwa+WnB7Zn3YXimqjmIugAnHePdXCmNu+AHkq808=",
|
"narHash": "sha256-TY0jUwR3EW0fnS0X5wXMAVy6h4Z7Y6a3m+Yq++C9AyE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2532b500c3ed2b8940e831039dcec5a5ea093afc",
|
"rev": "fc52a210b60f2f52c74eac41a8647c1573d2071d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1904,11 +1904,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736523798,
|
"lastModified": 1736798957,
|
||||||
"narHash": "sha256-Xb8mke6UCYjge9kPR9o4P1nVrhk7QBbKv3xQ9cj7h2s=",
|
"narHash": "sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "130595eba61081acde9001f43de3248d8888ac4a",
|
"rev": "9abb87b552b7f55ac8916b6fc9e5cb486656a2f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.programs.ghostty;
|
|
||||||
# tomlFormat = pkgs.formats.toml {};
|
|
||||||
inherit (lib.generatros) toKeyValue mkKeyValueDefault;
|
|
||||||
in {
|
|
||||||
options = {
|
|
||||||
programs.ghostty = {
|
|
||||||
enable = mkEnableOption "ghostty";
|
|
||||||
package = mkPackageOption pkgs "ghostty" {};
|
|
||||||
|
|
||||||
settings = lib.mkOption {
|
|
||||||
type = tomlFormat.type;
|
|
||||||
description = "Options";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
|
||||||
xdg.configFile."ghostty/config".source =
|
|
||||||
tomlFormat.generate "config" cfg.settings;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
ddcbacklight = inputs.ddcbacklight.packages.${prev.system}.ddcbacklight;
|
ddcbacklight = inputs.ddcbacklight.packages.${prev.system}.ddcbacklight;
|
||||||
ghostty = inputs.ghostty.packages.${prev.system}.default;
|
# ghostty = inputs.ghostty.packages.${prev.system}.default;
|
||||||
};
|
};
|
||||||
anyrun-overlay = final: prev: {
|
anyrun-overlay = final: prev: {
|
||||||
anyrun =
|
anyrun =
|
||||||
|
|||||||
Reference in New Issue
Block a user