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.

81 lines
2.2 KiB

3 years ago
3 years ago
  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.enable = true;
  26. home.packages = with pkgs; [
  27. vim xclip neofetch tmux
  28. fff
  29. nodejs shellcheck
  30. dash
  31. wget brave
  32. cwm polybarFull kitty nitrogen dmenu picom
  33. nfs-utils gcc gnumake pulsemixer
  34. ];
  35. programs.neovim = {
  36. enable = true;
  37. plugins = with pkgs.vimPlugins; [
  38. coc-nvim
  39. neovim-sensible
  40. vim-airline
  41. vim-airline-themes
  42. vim-nix
  43. ];
  44. extraConfig = builtins.readFile ./dotfiles/init.vim;
  45. };
  46. programs.git = {
  47. enable = true;
  48. userName = "Juni Kim";
  49. userEmail = "junikimm717@gmail.com";
  50. };
  51. programs.zsh = {
  52. oh-my-zsh = {
  53. enable = true;
  54. theme = "robbyrussell";
  55. };
  56. };
  57. home.file = {
  58. #".config/nvim/init.vim".source = ./dotfiles/init.vim;
  59. ".config/polybar" = {
  60. source = ./dotfiles/polybar;
  61. recursive = true;
  62. };
  63. ".config/kitty/kitty.conf".source = ./dotfiles/kitty.conf;
  64. ".config/picom/picom.conf".source = ./dotfiles/picom.conf;
  65. ".cwmrc".source = ./dotfiles/cwmrc;
  66. "cwm.sh".source = ./dotfiles/cwm.sh;
  67. ".xinitrc".source = ./dotfiles/xinitrc;
  68. ".tmux.conf".source = ./dotfiles/tmux.conf;
  69. ".zshrc".source = ./dotfiles/zshrc;
  70. };
  71. };
  72. }