mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
make alacritty option
This commit is contained in:
parent
78bcffb691
commit
041fea8d3e
3 changed files with 11 additions and 2 deletions
|
@ -1,6 +1,14 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.sconfig.alacritty;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
config = {
|
options.sconfig.alacritty.enable = lib.mkEnableOption "Enable Alacritty";
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.alacritty ];
|
||||||
|
|
||||||
programs.bash.interactiveShellInit = ''
|
programs.bash.interactiveShellInit = ''
|
||||||
function _set_title() {
|
function _set_title() {
|
||||||
printf "\033]0;%s@%s:%s\007" "''${USER}" "''${HOSTNAME%%.*}" "''${PWD/#$HOME/\~}"
|
printf "\033]0;%s@%s:%s\007" "''${USER}" "''${HOSTNAME%%.*}" "''${PWD/#$HOME/\~}"
|
||||||
|
|
|
@ -9,6 +9,8 @@ in
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
programs.ssh.agentPKCS11Whitelist = pkcslib;
|
programs.ssh.agentPKCS11Whitelist = pkcslib;
|
||||||
|
|
||||||
|
sconfig.alacritty.enable = true;
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(self: super: {
|
(self: super: {
|
||||||
gnome = super.gnome // {
|
gnome = super.gnome // {
|
||||||
|
|
|
@ -68,7 +68,6 @@ in
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
unstable.i3status-rust # 21.11 version supports zfs ARC
|
unstable.i3status-rust # 21.11 version supports zfs ARC
|
||||||
alacritty
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
numix-icon-theme
|
numix-icon-theme
|
||||||
yaru-theme
|
yaru-theme
|
||||||
|
|
Loading…
Reference in a new issue