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

{ config, pkgs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in
{
imports = [
(import "${home-manager}/nixos")
];
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
home-manager.users.junikim = {
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "junikim";
home.homeDirectory = "/home/junikim";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.starship.enable = true;
home.packages = with pkgs; [
vim xclip neofetch tmux
fff
nodejs shellcheck
dash
wget brave
kitty nitrogen
nfs-utils gcc gnumake pulsemixer
];
programs.neovim = {
enable = true;
plugins = with pkgs.vimPlugins; [
coc-nvim
neovim-sensible
vim-airline
vim-airline-themes
vim-nix
];
extraConfig = builtins.readFile ../dotfiles/init.vim;
};
programs.git = {
enable = true;
userName = "Juni Kim";
userEmail = "junikimm717@gmail.com";
};
programs.zsh = {
oh-my-zsh = {
enable = true;
theme = "robbyrussell";
};
};
home.file = {
".config/kitty/kitty.conf".source = ../dotfiles/kitty.conf;
".config/nixpkgs/config.nix".source = ../dotfiles/config.nix;
".tmux.conf".source = ../dotfiles/tmux.conf;
".zshrc".source = ../dotfiles/zshrc;
};
};
}