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.

84 lines
2.4 KiB

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