test: enabling feature modules

This commit is contained in:
serenity-F 2026-09-17 23:41:01 +10:00
parent fda2783965
commit 8f15a0f364
No known key found for this signature in database
6 changed files with 105 additions and 107 deletions

View file

@ -11,7 +11,6 @@
noctalia noctalia
#stylix #stylix
] ]
++ [ inputs.home-manager.nixosModules.home-manager ];
#programs.foo = bar; #programs.foo = bar;

View file

@ -50,10 +50,8 @@
# niri settings # niri settings
home-manager.users.serenity = { home-manager.users.serenity = {
programs.niri = { programs.niri = {
enable = true;
settings = { #settings = { };
};
}; };

View file

@ -1,32 +1,23 @@
{ {
self, self,
inputs, inputs,
config,
... ...
}: }:
# let bindings
let
# xdg variables
data = config.xdg.dataHome;
conf = config.xdg.configHome;
cache = config.xdg.cacheHome;
in
{ {
# terminal supermodule # terminal supermodule
flake.nixosModules.terminal = { pkgs, ... }: { flake.nixosModules.terminal = { pkgs, ... }: {
# list of modules to include # list of modules to include
imports = with self.nixosModules; [ imports = [
# home manager
inputs.home-manager.nixosModules.home-manager
# terminal emulator # terminal emulator
kitty self.nixosModules.kitty
# text editor # text editor
helix self.nixosModules.helix
# file manager # file manager
#self.modules.yazi #self.modules.yazi
# shell and prompt # shell and prompt

View file

@ -8,54 +8,59 @@
{ {
# defines a custom helix module # defines a custom helix module
flake.modules.homeManager.helix = { flake.nixosModules.helix = {
home.packages = with pkgs; [ imports = [ inputs.home-manager.nixosModules.home-manager ];
helix
];
programs.helix = { home-manager.users.serenity = {
# enables helix home.packages = with pkgs; [
enable = true; helix
];
settings = { programs.helix = {
# 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;
}
];
};
}; };
}; };
}; };

View file

@ -7,73 +7,78 @@
{ {
# defines a custom kitty module # defines a custom kitty module
flake.modules.homeManager.kitty = { flake.nixosModules.kitty = {
# packages to include imports = [ inputs.home-manager.nixosModules.home-manager ];
home.packages = with pkgs; [
kitty
];
# cli fuzzy finder home-manager.users.serenity = {
programs.fzf = {
enable = true;
enableFishIntegration = true;
};
programs.kitty = { # packages to include
home.packages = with pkgs; [
kitty
];
# enables kitty # cli fuzzy finder
enable = true; programs.fzf = {
enable = true;
# kitty integrations enableFishIntegration = true;
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
};
}; };
}; };
}; };
} }

View file

@ -16,8 +16,8 @@
serenity serenity
# extra modules to include on host # extra modules to include on host
#terminal terminal
desktop #desktop
]; ];