started splitup of home manager

This commit is contained in:
k 2024-09-12 16:09:41 -04:00
parent f4e2726590
commit 1c415881e3
2 changed files with 43 additions and 31 deletions

View File

@ -0,0 +1,35 @@
{ config, pkgs, inputs, ... }:
{
home = {
username = "k";
homeDirectory = "/home/k";
stateVersion = "23.11";
enableNixpkgsReleaseCheck = false;
};
programs = {
git = {
enable = true;
userName = "k";
userEmail = "markers711@gmail.com";
};
starship.enable = true;
zsh = {
enable = true;
autosuggestion.enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autocd = true;
plugins = [{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}];
};
};
}

View File

@ -1,13 +1,15 @@
{ config, pkgs, inputs, ... }:
{
imports = [
../home/home_common.nix
];
stylix.enable = true;
nixpkgs.config.allowUnfree = true;
home = {
username = "k";
homeDirectory = "/home/k";
stateVersion = "23.11";
enableNixpkgsReleaseCheck = false;
packages = with pkgs; [
nerdfonts
firefox
@ -28,36 +30,11 @@
};
programs = {
git = {
enable = true;
userName = "k";
userEmail = "markers711@gmail.com";
};
direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
starship.enable = true;
zsh = {
enable = true;
autosuggestion.enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autocd = true;
plugins = [{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}];
};
};
services = {