NixOS configs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.2 KiB

  1. { config, pkgs, ... }:
  2. let
  3. home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
  4. in
  5. {
  6. imports = [
  7. (import "${home-manager}/nixos")
  8. ];
  9. home-manager.users.junikim = {
  10. # Home Manager needs a bit of information about you and the
  11. # paths it should manage.
  12. home.username = "junikim";
  13. home.homeDirectory = "/home/junikim";
  14. # This value determines the Home Manager release that your
  15. # configuration is compatible with. This helps avoid breakage
  16. # when a new Home Manager release introduces backwards
  17. # incompatible changes.
  18. #
  19. # You can update Home Manager without changing this value. See
  20. # the Home Manager release notes for a list of state version
  21. # changes in each release.
  22. home.stateVersion = "22.05";
  23. # Let Home Manager install and manage itself.
  24. programs.home-manager.enable = true;
  25. programs.starship = {
  26. enable = true;
  27. };
  28. home.packages = with pkgs; [
  29. vim xclip neofetch tmux
  30. fff
  31. nodejs shellcheck
  32. dash
  33. wget brave
  34. cwm polybarFull kitty nitrogen dmenu picom
  35. nfs-utils gcc gnumake pulsemixer
  36. ];
  37. programs.neovim = {
  38. enable = true;
  39. plugins = with pkgs.vimPlugins; [
  40. coc-nvim
  41. neovim-sensible
  42. vim-airline
  43. vim-airline-themes
  44. vim-nix
  45. ];
  46. extraConfig = builtins.readFile ./dotfiles/init.vim;
  47. };
  48. programs.git = {
  49. enable = true;
  50. userName = "Juni Kim";
  51. userEmail = "junikimm717@gmail.com";
  52. };
  53. programs.zsh = {
  54. oh-my-zsh = {
  55. enable = true;
  56. theme = "robbyrussell";
  57. };
  58. shellInit = builtins.readFile ./dotfiles/zshrc
  59. };
  60. home.file = {
  61. #".config/nvim/init.vim".source = ./dotfiles/init.vim;
  62. ".config/polybar" = {
  63. source = ./dotfiles/polybar;
  64. recursive = true;
  65. };
  66. ".config/kitty/kitty.conf".source = ./dotfiles/kitty.conf;
  67. ".config/picom/picom.conf".source = ./dotfiles/picom.conf;
  68. ".cwmrc".source = ./dotfiles/cwmrc;
  69. "cwm.sh".source = ./dotfiles/cwm.sh;
  70. ".xinitrc".source = ./dotfiles/xinitrc;
  71. ".tmux.conf".source = ./dotfiles/tmux.conf;
  72. };
  73. }
  74. }