started splitup of home manager
This commit is contained in:
parent
f4e2726590
commit
1c415881e3
35
hosts/home/home_common.nix
Normal file
35
hosts/home/home_common.nix
Normal 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";
|
||||
};
|
||||
}];
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user