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.

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