Stable terminal environment with Home-Manager
This commit is contained in:
@@ -3,6 +3,14 @@
|
|||||||
let
|
let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
<home-manager/nixos>
|
||||||
|
./desktop-environment/config.nix
|
||||||
|
./terminal-environment/config.nix
|
||||||
|
./system-environment/config.nix
|
||||||
|
];
|
||||||
|
|
||||||
users.users.nichkara = {
|
users.users.nichkara = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Nina Chloé Kassandra";
|
description = "Nina Chloé Kassandra";
|
||||||
@@ -23,22 +31,7 @@ in
|
|||||||
push = {
|
push = {
|
||||||
autoSetupRemote = true;
|
autoSetupRemote = true;
|
||||||
};
|
};
|
||||||
gpg = {
|
|
||||||
format = "ssh";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
signing = {
|
|
||||||
signByDefault = true;
|
|
||||||
key = "";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
|
||||||
<home-manager/nixos>
|
|
||||||
./desktop-environment/config.nix
|
|
||||||
./terminal-environment/config.nix
|
|
||||||
./system-environment/config.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,4 +63,40 @@
|
|||||||
theme = "sonicradish";
|
theme = "sonicradish";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.nichkara = { ... }: {
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
autocd = true;
|
||||||
|
|
||||||
|
autosuggestion = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
syntaxHighlighting = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
history = {
|
||||||
|
size = 4096;
|
||||||
|
ignoreSpace = true;
|
||||||
|
ignorePatterns = [ ];
|
||||||
|
saveNoDups = true;
|
||||||
|
ignoreAllDups = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
setOptions = [
|
||||||
|
"HIST_IGNORE_ALL_DUPS"
|
||||||
|
];
|
||||||
|
|
||||||
|
shellAliases = {
|
||||||
|
ll = "ls -lh";
|
||||||
|
nix-check = "nixos-rebuild build";
|
||||||
|
nix-update = "sudo nixos-rebuild switch";
|
||||||
|
sirc = "ssh -t nichkara.eu tmux new-session -A -s weechat weechat";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user