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.

77 lines
2.0 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
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. services.xserver.displayManager.gdm.enable = true;
  10. services.xserver.desktopManager.gnome.enable = true;
  11. home-manager.users.junikim = {
  12. # Home Manager needs a bit of information about you and the
  13. # paths it should manage.
  14. home.username = "junikim";
  15. home.homeDirectory = "/home/junikim";
  16. # This value determines the Home Manager release that your
  17. # configuration is compatible with. This helps avoid breakage
  18. # when a new Home Manager release introduces backwards
  19. # incompatible changes.
  20. #
  21. # You can update Home Manager without changing this value. See
  22. # the Home Manager release notes for a list of state version
  23. # changes in each release.
  24. home.stateVersion = "22.05";
  25. # Let Home Manager install and manage itself.
  26. programs.home-manager.enable = true;
  27. programs.starship.enable = true;
  28. home.packages = with pkgs; [
  29. vim xclip neofetch tmux
  30. fff
  31. nodejs shellcheck
  32. dash
  33. wget brave
  34. kitty nitrogen
  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. };
  59. home.file = {
  60. ".config/kitty/kitty.conf".source = ../dotfiles/kitty.conf;
  61. ".config/nixpkgs/config.nix".source = ../dotfiles/config.nix;
  62. ".tmux.conf".source = ../dotfiles/tmux.conf;
  63. ".zshrc".source = ../dotfiles/zshrc;
  64. };
  65. };
  66. }