🚚 refactor(profile): Move profile-related settings to subdir

This commit is contained in:
punkfairie 2024-11-03 14:50:02 -08:00
parent 57a159928e
commit 1e1af93236
4 changed files with 33 additions and 5 deletions

View file

@ -1,7 +1,13 @@
{ ... }:
{ pkgs, ... }:
{
home.packages = with pkgs; [
maple-mono-NF
];
rose-pine.pointerCursor.enable = true;
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
imports = [
./gtk.nix
./qt.nix

View file

@ -39,16 +39,13 @@
nixfmt-rfc-style
nil
just
maple-mono-NF
];
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
imports = [
./appearance
./profile
./programs
./services
./xdg.nix
./xorg
];

25
home/profile/default.nix Normal file
View file

@ -0,0 +1,25 @@
{ config, ... }:
{
home = {
sessionPath = [
"${config.home.homeDirectory}/.local/bin"
];
sessionVariables = {
HACK = "${config.home.homeDirectory}/hackin";
# TODO: remove this when neovim is installed.
EDITOR = "nvim";
VISUAL = "${config.home.sessionVariables.VISUAL}";
SUDO_EDITOR = "${config.home.sessionVariables.VISUAL}";
};
shellAliases = {
c = "clear";
};
};
imports = [
./xdg.nix
];
}