74 lines
1.1 KiB
Plaintext
74 lines
1.1 KiB
Plaintext
{ config, pkgs, inputs, ... }:
|
|
|
|
{
|
|
home.username = "nico";
|
|
home.homeDirectory = "/home/nico";
|
|
|
|
imports = [
|
|
./packages
|
|
];
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = (_: true);
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
brave
|
|
|
|
];
|
|
|
|
#fonts.fonts = with pkgs; [
|
|
# (nerdfonts.override { fonts = [ "JetBrainsMono" "UbuntuMono"]; })
|
|
#];
|
|
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Nico";
|
|
userEmail = "nicovessen@gmail.com";
|
|
extraConfig = {
|
|
safe.directory = "/etc/nixos";
|
|
};
|
|
};
|
|
|
|
services.kdeconnect = {
|
|
enable = true;
|
|
indicator = true;
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
|
|
shellAliases = {
|
|
update = "sudo nixos-rebuild switch --flake /etc/nixos/#my-nixos";
|
|
};
|
|
zplug = {
|
|
enable = true;
|
|
plugins = [
|
|
{ name = "zsh-users/zsh-autosuggestions"; } # Simple plugin installation
|
|
];
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "git" ];
|
|
theme = "agnoster";
|
|
};
|
|
|
|
|
|
};
|
|
|
|
|
|
home.stateVersion = "24.05";
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
}
|