From b3a030f155d2e567f16c7901a756066957173cc2 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Fri, 29 Sep 2023 21:08:48 -0700 Subject: moved home.nix to hosts --- hosts/morpheus/home.nix | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ hosts/oracle/home.nix | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 hosts/morpheus/home.nix create mode 100644 hosts/oracle/home.nix (limited to 'hosts') diff --git a/hosts/morpheus/home.nix b/hosts/morpheus/home.nix new file mode 100644 index 0000000..1188c65 --- /dev/null +++ b/hosts/morpheus/home.nix @@ -0,0 +1,50 @@ +{ config, pkgs, ... }: + +{ + home.username = "shubh"; + home.homeDirectory = "/Users/shubh"; + + # You should not change this value, even if you update Home Manager. If you do + # want to update the value, then make sure to first check the Home Manager + # release notes. + home.stateVersion = "23.05"; + + home.packages = with pkgs; [ + git + unzip + wget + gnupg + pass + tmux + fzf + docker + neovim + nmap + lf + pinentry_mac + postgresql + docker + kubectl + kubelogin-oidc + terraform + kops + k9s + kubernetes-helm + python38 + # gui + zoom-us + slack + ]; + + home.file = { + ".gnupg/gpg-agent.conf" = { + text = '' + pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac + ''; + }; + }; + + imports = [ + ../modules/common.nix + ]; +} diff --git a/hosts/oracle/home.nix b/hosts/oracle/home.nix new file mode 100644 index 0000000..0ec8399 --- /dev/null +++ b/hosts/oracle/home.nix @@ -0,0 +1,47 @@ +{ config, pkgs, ... }: + +{ + home.username = "shubh"; + home.homeDirectory = "/home/shubh"; + + # You should not change this value, even if you update Home Manager. If you do + # want to update the value, then make sure to first check the Home Manager + # release notes. + home.stateVersion = "23.05"; + + home.packages = with pkgs; [ + git + unzip + wget + gnupg + pinentry + wl-clipboard + pass + tmux + fzf + firefox + libreoffice-qt + # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) + ]; + + imports = [ + ./modules/common.nix + ]; + + services.gpg-agent = { + enable = true; + pinentryFlavor = "qt"; + }; + + xdg = { + userDirs = { + enable = true; + desktop = "\$HOME/desktop"; + documents = "\$HOME/docs"; + download = "\$HOME/downloads"; + pictures = "\$HOME/pics"; + music = "\$HOME/music"; + videos = "\$HOME/vids"; + }; + }; +} -- cgit v1.2.3