test: enabling feature modules
This commit is contained in:
parent
d5039a3069
commit
77389666c5
2 changed files with 99 additions and 93 deletions
|
|
@ -8,60 +8,63 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
# defines a custom helix module
|
# defines a custom helix module
|
||||||
flake.nixosModules.helix = {
|
flake.nixosModules.helix =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
{
|
||||||
|
|
||||||
home-manager.users.serenity = {
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home-manager.users.serenity = {
|
||||||
helix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.helix = {
|
home.packages = with pkgs; [
|
||||||
|
helix
|
||||||
|
];
|
||||||
|
|
||||||
# enables helix
|
programs.helix = {
|
||||||
enable = true;
|
|
||||||
|
|
||||||
settings = {
|
# enables helix
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
|
||||||
|
# cursor settings
|
||||||
|
editor.cursor-shape = {
|
||||||
|
normal = "underline";
|
||||||
|
insert = "bar";
|
||||||
|
select = "block";
|
||||||
|
};
|
||||||
|
|
||||||
|
# declare theme to use
|
||||||
|
theme = "onedarker_transparent";
|
||||||
|
|
||||||
# cursor settings
|
|
||||||
editor.cursor-shape = {
|
|
||||||
normal = "underline";
|
|
||||||
insert = "bar";
|
|
||||||
select = "block";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# declare theme to use
|
# list of themes
|
||||||
theme = "onedarker_transparent";
|
themes = {
|
||||||
|
|
||||||
};
|
# modified theme
|
||||||
|
onedarker_transparent = {
|
||||||
|
"inherits" = "onedarker";
|
||||||
|
"ui.background" = { };
|
||||||
|
};
|
||||||
|
|
||||||
# list of themes
|
|
||||||
themes = {
|
|
||||||
|
|
||||||
# modified theme
|
|
||||||
onedarker_transparent = {
|
|
||||||
"inherits" = "onedarker";
|
|
||||||
"ui.background" = { };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
# lsp settings
|
||||||
|
languages = {
|
||||||
|
|
||||||
# lsp settings
|
# nix
|
||||||
languages = {
|
language = [
|
||||||
|
{
|
||||||
# nix
|
name = "nix";
|
||||||
language = [
|
auto-format = true;
|
||||||
{
|
formatter.command = lib.getExe pkgs.nxfmt;
|
||||||
name = "nix";
|
}
|
||||||
auto-format = true;
|
];
|
||||||
formatter.command = lib.getExe pkgs.nxfmt;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,78 +7,81 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
# defines a custom kitty module
|
# defines a custom kitty module
|
||||||
flake.nixosModules.kitty = {
|
flake.nixosModules.kitty =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
{
|
||||||
|
|
||||||
home-manager.users.serenity = {
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
# packages to include
|
home-manager.users.serenity = {
|
||||||
home.packages = with pkgs; [
|
|
||||||
kitty
|
|
||||||
];
|
|
||||||
|
|
||||||
# cli fuzzy finder
|
# packages to include
|
||||||
programs.fzf = {
|
home.packages = with pkgs; [
|
||||||
enable = true;
|
kitty
|
||||||
enableFishIntegration = true;
|
];
|
||||||
};
|
|
||||||
|
|
||||||
programs.kitty = {
|
# cli fuzzy finder
|
||||||
|
programs.fzf = {
|
||||||
# enables kitty
|
enable = true;
|
||||||
enable = true;
|
enableFishIntegration = true;
|
||||||
|
|
||||||
# kitty integrations
|
|
||||||
enableGitIntegration = true;
|
|
||||||
shellIntegration.enableFishIntegration = true;
|
|
||||||
|
|
||||||
# font settings
|
|
||||||
font = {
|
|
||||||
name = "spleen 32x64";
|
|
||||||
size = 12;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# misecellaneous kitty config
|
programs.kitty = {
|
||||||
extraConfig = ''
|
|
||||||
window_padding_width 0 20
|
|
||||||
'';
|
|
||||||
|
|
||||||
settings = {
|
# enables kitty
|
||||||
|
enable = true;
|
||||||
|
|
||||||
# sets fish as the default shell
|
# kitty integrations
|
||||||
shell = "${pkgs.fish}/bin/fish";
|
enableGitIntegration = true;
|
||||||
|
shellIntegration.enableFishIntegration = true;
|
||||||
|
|
||||||
# misc. settings
|
# font settings
|
||||||
url_style = "curly";
|
font = {
|
||||||
disable_ligutures = "never";
|
name = "spleen 32x64";
|
||||||
scrollback_lines = 10000;
|
size = 12;
|
||||||
enable_audio_bell = false;
|
};
|
||||||
update_check_interval = 0;
|
|
||||||
|
|
||||||
# cursor settings
|
# misecellaneous kitty config
|
||||||
cursor_shape = "Underline";
|
extraConfig = ''
|
||||||
cursor_shape_unfocused = "unchanged";
|
window_padding_width 0 20
|
||||||
cursor_underline_thickness = 1;
|
'';
|
||||||
cursor_trail = 1;
|
|
||||||
|
|
||||||
# window settings
|
settings = {
|
||||||
window_padding_width = 5;
|
|
||||||
remember_window_size = "no";
|
|
||||||
initial_window_width = 1200;
|
|
||||||
initial_window_height = 600;
|
|
||||||
confirm_os_window_close = "0";
|
|
||||||
hide_window_decorations = true;
|
|
||||||
show_window_resize_notification = false;
|
|
||||||
|
|
||||||
# Colours
|
# sets fish as the default shell
|
||||||
# NOT YET IMPLEMENTED
|
shell = "${pkgs.fish}/bin/fish";
|
||||||
|
|
||||||
|
# misc. settings
|
||||||
|
url_style = "curly";
|
||||||
|
disable_ligutures = "never";
|
||||||
|
scrollback_lines = 10000;
|
||||||
|
enable_audio_bell = false;
|
||||||
|
update_check_interval = 0;
|
||||||
|
|
||||||
|
# cursor settings
|
||||||
|
cursor_shape = "Underline";
|
||||||
|
cursor_shape_unfocused = "unchanged";
|
||||||
|
cursor_underline_thickness = 1;
|
||||||
|
cursor_trail = 1;
|
||||||
|
|
||||||
|
# window settings
|
||||||
|
window_padding_width = 5;
|
||||||
|
remember_window_size = "no";
|
||||||
|
initial_window_width = 1200;
|
||||||
|
initial_window_height = 600;
|
||||||
|
confirm_os_window_close = "0";
|
||||||
|
hide_window_decorations = true;
|
||||||
|
show_window_resize_notification = false;
|
||||||
|
|
||||||
|
# Colours
|
||||||
|
# NOT YET IMPLEMENTED
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue