chore: separate nixos & home-manager configuration into own directories
This commit is contained in:
parent
39cd2bc920
commit
70131093c3
21 changed files with 0 additions and 0 deletions
63
home.nix
63
home.nix
|
|
@ -1,63 +0,0 @@
|
|||
{ pkgs, inputs, ... }: let
|
||||
username = "khais";
|
||||
in {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
# system tools & bragging
|
||||
htop neofetch ripgrep
|
||||
# remote working
|
||||
remmina
|
||||
# audio
|
||||
audacity
|
||||
# communication
|
||||
discord
|
||||
# passwords
|
||||
bitwarden-desktop
|
||||
# editors
|
||||
zed-editor
|
||||
# nixvim
|
||||
inputs.nixvim-flake.packages.${system}.default
|
||||
];
|
||||
|
||||
file = {
|
||||
# konsole configuration
|
||||
".local/share/konsole/Nixos.profile".source = ./konsole/Nixos.profile;
|
||||
};
|
||||
|
||||
inherit username;
|
||||
homeDirectory = "/home/${username}";
|
||||
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userEmail = "khais.colin@gmail.com";
|
||||
userName = "Khaïs COLIN";
|
||||
# better diffs
|
||||
diff-so-fancy.enable = true;
|
||||
# set editor
|
||||
extraConfig.core.editor = "nvim";
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableVteIntegration = true;
|
||||
prezto = {
|
||||
enable = true;
|
||||
};
|
||||
shellAliases = {
|
||||
gc = "git commit -v";
|
||||
ga = "git add";
|
||||
gst = "git status";
|
||||
gp = "git push";
|
||||
gd = "git diff";
|
||||
gds = "git diff --staged";
|
||||
|
||||
vim = "nvim";
|
||||
vi = "nvim";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue