desktop/foot: home-manager fever dream
This commit is contained in:
parent
8df0c5cf5e
commit
0b17752bce
1 changed files with 21 additions and 14 deletions
|
@ -1,21 +1,28 @@
|
||||||
{ options, config, lib, pkgs, ... }:
|
{ options, config, lib, pkgs, ... }:
|
||||||
let
|
let cfg = config.modules.desktop.foot;
|
||||||
cfg = config.modules.desktop.foot;
|
|
||||||
in {
|
in {
|
||||||
options.modules.desktop.foot = {
|
options.modules.desktop.foot = { enable = lib.mkEnableOption false; };
|
||||||
enable = lib.mkEnableOption false;
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
users.users.sako.packages = with pkgs; [
|
users.users.sako.packages = with pkgs; [ foot ];
|
||||||
foot
|
|
||||||
];
|
|
||||||
|
|
||||||
home-manager.users.sako = { pkgs, ... }: {
|
home-manager.users.sako = { pkgs, ... }: {
|
||||||
xdg.configFile = {
|
programs.foot = {
|
||||||
foot = {
|
enable = true;
|
||||||
source = ../../../config/foot;
|
server.enable = false;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
term = "xterm-256color";
|
||||||
|
font = "JetBrainsMono NF:size=12";
|
||||||
|
};
|
||||||
|
scrollback = { lines = 1000; };
|
||||||
|
cursor = {
|
||||||
|
style = "block";
|
||||||
|
blink = "yes";
|
||||||
|
blink-rate = "1000";
|
||||||
|
};
|
||||||
|
mouse = { hide-when-typing = "yes"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue