terminal
This commit is contained in:
parent
8ad9377b38
commit
0f6fdf63f1
5 changed files with 259 additions and 250 deletions
|
|
@ -44,5 +44,7 @@
|
|||
cider.enable = true;
|
||||
proton-ge.enable = true;
|
||||
proton-apps.enable = true;
|
||||
firefox.enable = true;
|
||||
chromium.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
{ pkgs, libs, ... }:
|
||||
{
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
firefox.profiles.default = {
|
||||
settings = {
|
||||
"browser.startup.homepage" = "about:home";
|
||||
|
||||
|
|
@ -165,8 +163,7 @@
|
|||
userChrome = builtins.readFile (libs.root "/assets/firefox/userChrome.css");
|
||||
userContent = builtins.readFile (libs.root "/assets/firefox/userContent.css");
|
||||
};
|
||||
};
|
||||
|
||||
chromium.enable = true;
|
||||
chromium = { };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
{ lib, osconfig, ... }: {
|
||||
programs.ghostty = lib.mkIf (osconfig.device.programs.terminal == "ghostty") {
|
||||
{ lib, osconfig, ... }:
|
||||
{
|
||||
programs.ghostty =
|
||||
lib.mkIf
|
||||
(osconfig.device.programs.terminal.enable && osconfig.device.programs.terminal.name == "ghostty")
|
||||
{
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "catppuccin-mocha";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
{ lib, osconfig, ... }: {
|
||||
programs.kitty = lib.mkIf (osconfig.device.programs.terminal == "kitty") {
|
||||
{ lib, osconfig, ... }:
|
||||
{
|
||||
programs.kitty =
|
||||
lib.mkIf (osconfig.device.programs.terminal.enable && osconfig.device.programs.terminal == "kitty")
|
||||
{
|
||||
enable = true;
|
||||
|
||||
keybindings = {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
options.device.programs = {
|
||||
terminal = lib.mkOption {
|
||||
terminal = {
|
||||
enable = lib.mkEnableOption "terminal";
|
||||
name = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "ghostty";
|
||||
description = "Terminal";
|
||||
};
|
||||
};
|
||||
|
||||
nixcord.enable = lib.mkEnableOption "nixcord";
|
||||
tmux.enable = lib.mkEnableOption "tmux";
|
||||
|
|
|
|||
Reference in a new issue