commit 2edff1c5cdfac50429ba4a2d8d1f5e8d5e8cc3d4 Author: sstent Date: Thu Oct 13 13:11:55 2022 -0400 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..73714b7 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# nixpkgs diff --git a/home.nix b/home.nix new file mode 100644 index 0000000..885c6e9 --- /dev/null +++ b/home.nix @@ -0,0 +1,47 @@ +{ config, pkgs, ... }: + +{ + # Home Manager needs a bit of information about you and the + # paths it should manage. + home.username = "sstent"; + home.homeDirectory = "/home/sstent"; + + # This value determines the Home Manager release that your + # configuration is compatible with. This helps avoid breakage + # when a new Home Manager release introduces backwards + # incompatible changes. + # + # You can update Home Manager without changing this value. See + # the Home Manager release notes for a list of state version + # changes in each release. + home.stateVersion = "22.05"; + + # Let Home Manager install and manage itself. + programs.home-manager.enable = true; + home.packages = with pkgs; [ + nmap + nomad + consul + terraform + wget + curl + ]; + +programs.bash = { + enable = true; + bashrcExtra = '' + export DOCKER_HOST="tcp://192.168.1.223:2375"; + export NOMAD_ADDR="http://192.168.1.250:4646"; + export TERM="xterm-256color"; + if [ -e /home/sstent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/sstent/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer + ''; + +}; + + + programs.git = { + enable = true; + userName = "sstent"; + userEmail = "stuart.stent@gmail.com"; + }; +}