mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
refactor: gnome-terminal as separate file
This commit is contained in:
parent
ac129b4104
commit
10d2f62c53
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
../../modules/gnome-base.nix
|
../../modules/gnome-base.nix
|
||||||
../../modules/gnome-config.nix
|
../../modules/gnome-config.nix
|
||||||
|
../../modules/gnome-terminal.nix
|
||||||
../../modules/gnome-extensions.nix
|
../../modules/gnome-extensions.nix
|
||||||
# Not required as display scale is set 2.0 (multiple of 1).
|
# Not required as display scale is set 2.0 (multiple of 1).
|
||||||
#../../modules/gnome-fractional-scaling.nix
|
#../../modules/gnome-fractional-scaling.nix
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
../../modules/gnome-base.nix
|
../../modules/gnome-base.nix
|
||||||
../../modules/gnome-config.nix
|
../../modules/gnome-config.nix
|
||||||
|
../../modules/gnome-terminal.nix
|
||||||
../../modules/gnome-extensions.nix
|
../../modules/gnome-extensions.nix
|
||||||
../../modules/gnome-fractional-scaling.nix
|
../../modules/gnome-fractional-scaling.nix
|
||||||
../../modules/fwupd-gnome.nix
|
../../modules/fwupd-gnome.nix
|
||||||
|
@ -31,43 +31,6 @@
|
|||||||
"Templates/new.txt".text = "";
|
"Templates/new.txt".text = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gnome-terminal.enable = true;
|
|
||||||
programs.gnome-terminal.profile."74b90a31-5123-4a64-91a3-3cb31eb5cdb6" = {
|
|
||||||
default = true;
|
|
||||||
visibleName = "Yoda's Terminal";
|
|
||||||
font = "DejaVu Sans Mono 11";
|
|
||||||
audibleBell = false;
|
|
||||||
|
|
||||||
# Theme: https://github.com/chriskempson/base16-default-schemes/blob/master/default-light.yaml
|
|
||||||
# Where to place theme values: https://github.com/knopki/devops-at-home/blob/307921320d6147347e830d2c709f142b809d55b4/home/modules/theme/theme-gnome-terminal.nix#L16-L41
|
|
||||||
colors = {
|
|
||||||
backgroundColor = "#f8f8f8";
|
|
||||||
foregroundColor = "#383838";
|
|
||||||
cursor = {
|
|
||||||
background = "#383838";
|
|
||||||
foreground = "#f8f8f8";
|
|
||||||
};
|
|
||||||
palette = [
|
|
||||||
"#f8f8f8"
|
|
||||||
"#ab4642"
|
|
||||||
"#a1b56c"
|
|
||||||
"#f7ca88"
|
|
||||||
"#7cafc2"
|
|
||||||
"#ba8baf"
|
|
||||||
"#86c1b9"
|
|
||||||
"#383838"
|
|
||||||
"#b8b8b8"
|
|
||||||
"#dc9656"
|
|
||||||
"#e8e8e8"
|
|
||||||
"#d8d8d8"
|
|
||||||
"#585858"
|
|
||||||
"#282828"
|
|
||||||
"#a16946"
|
|
||||||
"#181818"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/desktop/media-handling" = {
|
"org/gnome/desktop/media-handling" = {
|
||||||
# Settings > Removable Media > Never promt or start apps on media insertion
|
# Settings > Removable Media > Never promt or start apps on media insertion
|
||||||
|
47
modules/gnome-terminal.nix
Normal file
47
modules/gnome-terminal.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
# users.users.yoda = {
|
||||||
|
# packages = with pkgs; [
|
||||||
|
# gnome.gnome-terminal
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||||
|
programs.gnome-terminal.enable = true;
|
||||||
|
programs.gnome-terminal.profile."74b90a31-5123-4a64-91a3-3cb31eb5cdb6" = {
|
||||||
|
default = true;
|
||||||
|
visibleName = "Yoda's Terminal";
|
||||||
|
font = "DejaVu Sans Mono 11";
|
||||||
|
audibleBell = false;
|
||||||
|
|
||||||
|
# Theme: https://github.com/chriskempson/base16-default-schemes/blob/master/default-light.yaml
|
||||||
|
# Where to place theme values: https://github.com/knopki/devops-at-home/blob/307921320d6147347e830d2c709f142b809d55b4/home/modules/theme/theme-gnome-terminal.nix#L16-L41
|
||||||
|
colors = {
|
||||||
|
backgroundColor = "#f8f8f8";
|
||||||
|
foregroundColor = "#383838";
|
||||||
|
cursor = {
|
||||||
|
background = "#383838";
|
||||||
|
foreground = "#f8f8f8";
|
||||||
|
};
|
||||||
|
palette = [
|
||||||
|
"#f8f8f8"
|
||||||
|
"#ab4642"
|
||||||
|
"#a1b56c"
|
||||||
|
"#f7ca88"
|
||||||
|
"#7cafc2"
|
||||||
|
"#ba8baf"
|
||||||
|
"#86c1b9"
|
||||||
|
"#383838"
|
||||||
|
"#b8b8b8"
|
||||||
|
"#dc9656"
|
||||||
|
"#e8e8e8"
|
||||||
|
"#d8d8d8"
|
||||||
|
"#585858"
|
||||||
|
"#282828"
|
||||||
|
"#a16946"
|
||||||
|
"#181818"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -15,7 +15,6 @@
|
|||||||
colmena
|
colmena
|
||||||
|
|
||||||
# Graphical apps
|
# Graphical apps
|
||||||
gnome.gnome-terminal # Terminal. For now, we use this instead of gnome-console.
|
|
||||||
gnome.gnome-tweaks
|
gnome.gnome-tweaks
|
||||||
gnome.dconf-editor
|
gnome.dconf-editor
|
||||||
meld # Diff and merge tool
|
meld # Diff and merge tool
|
||||||
|
Loading…
Reference in New Issue
Block a user