Created
March 29, 2024 00:04
-
-
Save mikelane/f63512f9333ba85206687391d8ddee80 to your computer and use it in GitHub Desktop.
$HOME/nixos/home/mikelane/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, pkgs-stable, ... }: | |
{ | |
imports = [ | |
./shell | |
./programs | |
]; | |
home = { | |
username = "mikelane"; | |
homeDirectory = "/home/mikelane"; | |
sessionVariables = { | |
EDITOR = "nvim"; | |
AWS_PAGER = "bat --plain --paging=auto --language=json --theme=TwoDark"; | |
AWS_DEFAULT_OUTPUT = "json"; | |
ZPLUG_PROTOCOL = "SSH"; | |
PKG_CONFIG_PATH = "${pkgs.lib.makeLibraryPath [ pkgs.openssl.dev ]}/pkgconfig"; | |
PATH = "$HOME/.krew/bin:${pkgs.kubernetes}/bin:$PATH"; | |
KREW_ROOT = "$HOME/.krew"; | |
}; | |
packages = [ | |
pkgs._1password | |
pkgs._1password-gui | |
pkgs.alacritty | |
pkgs.autojump | |
pkgs.audacity | |
pkgs-stable.awscli2 # TODO: remove this once it's fixed from 2.15.15 to 2.15.31+ in nixpkgs-unstable | |
pkgs.bat | |
pkgs.btop | |
pkgs.busybox | |
pkgs.caffeine-ng | |
pkgs.dnsutils | |
pkgs.discord | |
pkgs.dmidecode | |
pkgs.eza | |
pkgs.firefox | |
pkgs.fortune | |
pkgs.fzf | |
pkgs.fzf-zsh | |
pkgs.fzf-git-sh | |
pkgs.gh | |
pkgs.google-chrome | |
pkgs.home-manager | |
pkgs.ipfetch | |
pkgs.isort | |
pkgs.jq | |
pkgs.kate | |
pkgs.krew | |
pkgs.kubectl | |
pkgs.kubernetes | |
pkgs.less | |
pkgs.lolcat | |
pkgs.lshw | |
pkgs.lsof | |
pkgs.moreutils | |
pkgs.neo-cowsay | |
pkgs.neofetch | |
pkgs.nix-output-monitor | |
pkgs.nix-prefetch-git | |
pkgs.nix-prefetch-github | |
pkgs.nixpkgs-fmt | |
pkgs.nnn | |
pkgs.nodePackages_latest.pnpm | |
pkgs.nodePackages_latest.npm | |
pkgs.nodePackages_latest.yarn | |
pkgs.nodePackages_latest."@antfu/ni" | |
pkgs.p7zip | |
pkgs.pandoc | |
pkgs.pre-commit | |
pkgs.prettyping | |
pkgs.prusa-slicer | |
pkgs.pyenv | |
pkgs.python312Full | |
pkgs.python312Packages.jupyterlab | |
pkgs.python312Packages.pip | |
pkgs.python312Packages.setuptools | |
pkgs.python312Packages.wheel | |
pkgs.python312Packages.ptpython | |
pkgs.python312Packages.pydantic | |
pkgs.python312Packages.std2 | |
pkgs.ripgrep | |
pkgs.ruff | |
pkgs.shell_gpt | |
pkgs.shellcheck | |
pkgs.slack | |
pkgs.smenu | |
pkgs.starship | |
pkgs.stern | |
pkgs.thefuck | |
pkgs.tldr | |
pkgs.uhk-agent | |
pkgs.unzip | |
pkgs.usbutils | |
pkgs.xz | |
pkgs.zip | |
]; | |
# 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 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. | |
stateVersion = "23.05"; # Please read the comment before changing. | |
}; | |
# set cursor size and dpi for 4k monitor | |
xresources.properties = { | |
"Xcursor.size" = 16; | |
"Xft.dpi" = 172; | |
}; | |
nixpkgs.config = { | |
allowUnfree = true; | |
}; | |
programs.direnv = { | |
enable = true; | |
enableZshIntegration = true; | |
nix-direnv.enable = true; | |
config = { | |
load_dotenv = true; | |
disable_stdin = true; | |
}; | |
}; | |
# Let Home Manager install and manage itself. | |
programs.home-manager.enable = true; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment