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.3 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 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. cwm 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/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. ".cwmrc".source = ../dotfiles/cwm/cwmrc;
  68. "cwm.sh".source = ../dotfiles/cwm/cwm.sh;
  69. ".xinitrc".source = ../dotfiles/cwm/xinitrc;
  70. ".tmux.conf".source = ../dotfiles/tmux.conf;
  71. ".zshrc".source = ../dotfiles/zshrc;
  72. };
  73. };
  74. }