🚚 refactor(profile): Move profile-related settings to subdir
This commit is contained in:
parent
2585df4e81
commit
917e1377c1
4 changed files with 33 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
25
home/profile/default.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue