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.

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