From 917e1377c1857e60afdb854a2e4d387bdad92dad Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 3 Nov 2024 14:50:02 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20refactor(profile):=20Move=20prof?= =?UTF-8?q?ile-related=20settings=20to=20subdir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/appearance/default.nix | 8 +++++++- home/default.nix | 5 +---- home/profile/default.nix | 25 +++++++++++++++++++++++++ home/{ => profile}/xdg.nix | 0 4 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 home/profile/default.nix rename home/{ => profile}/xdg.nix (100%) diff --git a/home/appearance/default.nix b/home/appearance/default.nix index 51feffe..228b3de 100644 --- a/home/appearance/default.nix +++ b/home/appearance/default.nix @@ -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 diff --git a/home/default.nix b/home/default.nix index 58372ea..09a7743 100644 --- a/home/default.nix +++ b/home/default.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 ]; diff --git a/home/profile/default.nix b/home/profile/default.nix new file mode 100644 index 0000000..8db1d4f --- /dev/null +++ b/home/profile/default.nix @@ -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 + ]; +} diff --git a/home/xdg.nix b/home/profile/xdg.nix similarity index 100% rename from home/xdg.nix rename to home/profile/xdg.nix