Init
This commit is contained in:
71
home.nix
Normal file
71
home.nix
Normal file
@@ -0,0 +1,71 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "marvin";
|
||||
home.homeDirectory = "/home/marvin";
|
||||
home.stateVersion = "26.05";
|
||||
programs = {
|
||||
yazi.enable = true;
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "MDietermann";
|
||||
userEmail = "marvin.dietermann@hive-brain.de";
|
||||
};
|
||||
|
||||
rofi = {
|
||||
enable = true;
|
||||
theme = "purple";
|
||||
font = "sans-serif";
|
||||
package = pkgs.rofi;
|
||||
modes = [
|
||||
"drun"
|
||||
"run"
|
||||
"window"
|
||||
"ssh"
|
||||
];
|
||||
extraConfig = {
|
||||
show-icons = true;
|
||||
};
|
||||
};
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
history.size = 10000;
|
||||
history.ignoreAllDups = true;
|
||||
history.path = "$HOME/.zsh_history";
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "sudo" ];
|
||||
theme = "aussiegeek";
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
btw = "echo I use NixOS";
|
||||
reload-nixos = "sudo nixos-rebuild switch --flake ~/nixos-dotfiles#hivebrain";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.file = {
|
||||
".config/qtile".source = ./config/qtile;
|
||||
".config/nvim".source = ./config/nvim;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
neovim
|
||||
ripgrep
|
||||
nil
|
||||
nixpkgs-fmt
|
||||
nodejs
|
||||
gcc
|
||||
rofi
|
||||
xwallpaper
|
||||
steam
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user