emacsclient script - ec
This commit is contained in:
parent
8a88130ad9
commit
f7b04001d9
@ -1,7 +1,4 @@
|
|||||||
{ pkgs
|
{ pkgs, lib, ... }: {
|
||||||
, lib
|
|
||||||
, ...
|
|
||||||
}: {
|
|
||||||
home = {
|
home = {
|
||||||
username = "ivand";
|
username = "ivand";
|
||||||
homeDirectory = "/home/ivand";
|
homeDirectory = "/home/ivand";
|
||||||
@ -11,6 +8,15 @@
|
|||||||
name = "Bibata-Modern-Amber";
|
name = "Bibata-Modern-Amber";
|
||||||
package = pkgs.bibata-cursors;
|
package = pkgs.bibata-cursors;
|
||||||
};
|
};
|
||||||
|
file = {
|
||||||
|
".local/bin/ec" = {
|
||||||
|
text = ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
emacsclient -c -a 'emacs'
|
||||||
|
'';
|
||||||
|
executable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
bemenu
|
bemenu
|
||||||
brave
|
brave
|
||||||
@ -23,9 +29,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
home-manager = {
|
home-manager = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Ivan Dimitrov";
|
userName = "Ivan Dimitrov";
|
||||||
@ -45,10 +49,7 @@
|
|||||||
tmux = {
|
tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clock24 = true;
|
clock24 = true;
|
||||||
plugins = with pkgs.tmuxPlugins; [
|
plugins = with pkgs.tmuxPlugins; [ tilish catppuccin ];
|
||||||
tilish
|
|
||||||
catppuccin
|
|
||||||
];
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g default-command "''${SHELL}"
|
set -g default-command "''${SHELL}"
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
@ -151,9 +152,7 @@
|
|||||||
};
|
};
|
||||||
obs-studio = {
|
obs-studio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
plugins = with pkgs.obs-studio-plugins; [ wlrobs ];
|
||||||
wlrobs
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
wayland = {
|
wayland = {
|
||||||
@ -182,9 +181,5 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = { emacs = { enable = true; }; };
|
||||||
emacs = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user