From 3aab004b5538cb149ea6b2a449a41059764e6c2e Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Mon, 8 Jul 2024 17:49:02 +0530 Subject: [PATCH] home/amneesh: init --- home/README | 7 +++++++ home/amneesh.nix | 21 +++++++++++++++++++++ home/common/zsh.nix | 1 + home/default.nix | 8 ++++++++ 4 files changed, 37 insertions(+) create mode 100644 home/README create mode 100644 home/amneesh.nix diff --git a/home/README b/home/README new file mode 100644 index 0000000..b6ef4ce --- /dev/null +++ b/home/README @@ -0,0 +1,7 @@ +natto : default user for okina (desktop - NixOS Unstable) +natto-laptop : default user for satori (laptop - NixOS Unstable) +bat : default user for remilia (Oracle VM - NixOS Unstable) +spin : default user for hina (Oracle VM - NixOS Unstable) +spark : default user for marisa (RPi4 - NixOS Unstable) +amneesh : default user for nightbug (Workplace PC - Ubuntu 22.04) + diff --git a/home/amneesh.nix b/home/amneesh.nix new file mode 100644 index 0000000..7112dd8 --- /dev/null +++ b/home/amneesh.nix @@ -0,0 +1,21 @@ +{ config, pkgs, inputs, ... }: +{ + home = { + homeDirectory = "/home/amneesh"; + username = "amneesh"; + stateVersion = "24.05"; + + packages = with pkgs; [ + htop + nattovim + ]; + }; + + imports = [ + ./natto/emacs.nix + ]; + + xdg.mime.enable = true; + targets.genericLinux.enable = true; + programs.bash.enable = true; +} diff --git a/home/common/zsh.nix b/home/common/zsh.nix index af7c411..af7d41c 100644 --- a/home/common/zsh.nix +++ b/home/common/zsh.nix @@ -19,6 +19,7 @@ }; initExtra = '' unsetopt extendedGlob + [[ -f ~/.zsh_custom ]] && source ~/.zsh_custom ''; }; } diff --git a/home/default.nix b/home/default.nix index bde1321..df0a179 100644 --- a/home/default.nix +++ b/home/default.nix @@ -80,5 +80,13 @@ in }] ++ common; pkgs = mkPkgs "x86_64-linux"; }; + + amneesh = inputs.home-manager.lib.homeManagerConfiguration { + inherit extraSpecialArgs; + modules = [ + ./amneesh.nix + ] ++ common; + pkgs = mkPkgs "x86_64-linux"; + }; }; }