summaryrefslogtreecommitdiff
path: root/home/ebisu
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-01-06 12:12:18 -0800
committerFuwn <[email protected]>2025-01-06 12:12:18 -0800
commit653b58fd3e86ca8ec996693ec6d6c1ca80a911cb (patch)
treed6fbb235b6f5e99a0aee6a8d77b9a52d2f84d4cb /home/ebisu
parentnara: move go to base home modules (diff)
downloadnixos-config-653b58fd3e86ca8ec996693ec6d6c1ca80a911cb.tar.xz
nixos-config-653b58fd3e86ca8ec996693ec6d6c1ca80a911cb.zip
nara: modules for home
Diffstat (limited to 'home/ebisu')
-rw-r--r--home/ebisu/nara/default.nix44
-rw-r--r--home/ebisu/nara/files.nix21
-rw-r--r--home/ebisu/nara/packages.nix13
3 files changed, 42 insertions, 36 deletions
diff --git a/home/ebisu/nara/default.nix b/home/ebisu/nara/default.nix
index 2b279f9..d723842 100644
--- a/home/ebisu/nara/default.nix
+++ b/home/ebisu/nara/default.nix
@@ -1,41 +1,13 @@
-{ pkgs, self, ... }:
+{ self, ... }:
{
home-manager.users.ebisu = {
- programs.home-manager.enable = true;
- imports = [ "${self}/home/ebisu/base" ];
-
- home = {
- stateVersion = "24.11";
-
- file = {
- ".hushlogin".text = "";
+ imports = [
+ "${self}/home/ebisu/base"
+ ./files.nix
+ ./packages.nix
+ ];
- ".zshrc".text =
- let
- agkozak-zsh-prompt = pkgs.fetchFromGitHub {
- owner = "agkozak";
- repo = "agkozak-zsh-prompt";
- rev = "v3.11.4";
- hash = "sha256-FC9LIZaS6fV20qq6cJC/xQvfsM3DHXatVleH7yBgoNg=";
- };
- in
- ''
- source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
- source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
- source ${agkozak-zsh-prompt}/agkozak-zsh-prompt.plugin.zsh
- '';
- };
-
- packages = with pkgs; [
- nixd
- nixfmt-rfc-style
- nil
- just
- flyctl
- bun
- shfmt
- shellcheck
- ];
- };
+ home.stateVersion = "24.11";
+ programs.home-manager.enable = true;
};
}
diff --git a/home/ebisu/nara/files.nix b/home/ebisu/nara/files.nix
new file mode 100644
index 0000000..d7b0367
--- /dev/null
+++ b/home/ebisu/nara/files.nix
@@ -0,0 +1,21 @@
+{ pkgs, ... }:
+{
+ home.file = {
+ ".hushlogin".text = "";
+
+ ".zshrc".text =
+ let
+ agkozak-zsh-prompt = pkgs.fetchFromGitHub {
+ owner = "agkozak";
+ repo = "agkozak-zsh-prompt";
+ rev = "v3.11.4";
+ hash = "sha256-FC9LIZaS6fV20qq6cJC/xQvfsM3DHXatVleH7yBgoNg=";
+ };
+ in
+ ''
+ source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
+ source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
+ source ${agkozak-zsh-prompt}/agkozak-zsh-prompt.plugin.zsh
+ '';
+ };
+}
diff --git a/home/ebisu/nara/packages.nix b/home/ebisu/nara/packages.nix
new file mode 100644
index 0000000..c92ac0f
--- /dev/null
+++ b/home/ebisu/nara/packages.nix
@@ -0,0 +1,13 @@
+{ pkgs, ... }:
+{
+ home.packages = with pkgs; [
+ nixd
+ nixfmt-rfc-style
+ nil
+ just
+ flyctl
+ bun
+ shfmt
+ shellcheck
+ ];
+}