Compare commits
No commits in common. "e0006a5ff4798ec504f94fea5da601546e5ca5e9" and "979a922970caa8c2187b3efcddf6ba4cc79c55ab" have entirely different histories.
e0006a5ff4
...
979a922970
@ -49,13 +49,14 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
# Enable the GNOME Desktop Environment.
|
||||||
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
|
# Configure keymap in X11
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
|
||||||
displayManager.gdm = {
|
|
||||||
enable = true;
|
|
||||||
wayland = true;
|
|
||||||
};
|
|
||||||
desktopManager.gnome.enable = true;
|
|
||||||
layout = "de";
|
layout = "de";
|
||||||
xkbVariant = "";
|
xkbVariant = "";
|
||||||
};
|
};
|
||||||
@ -91,7 +92,10 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Max Känner";
|
description = "Max Känner";
|
||||||
extraGroups = ["networkmanager" "wheel"];
|
extraGroups = ["networkmanager" "wheel"];
|
||||||
shell = pkgs.zsh;
|
packages = with pkgs; [
|
||||||
|
firefox
|
||||||
|
# thunderbird
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
@ -115,7 +119,6 @@
|
|||||||
pciutils
|
pciutils
|
||||||
home-manager
|
home-manager
|
||||||
git
|
git
|
||||||
gcc
|
|
||||||
clang
|
clang
|
||||||
clang_multi
|
clang_multi
|
||||||
libclang
|
libclang
|
||||||
@ -131,10 +134,6 @@
|
|||||||
# enable = true;
|
# enable = true;
|
||||||
# enableSSHSupport = true;
|
# enableSSHSupport = true;
|
||||||
# };
|
# };
|
||||||
programs.nix-ld.enable = true;
|
|
||||||
programs.nix-ld.libraries = with pkgs; [];
|
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
@ -150,18 +149,6 @@
|
|||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
system.autoUpgrade = {
|
|
||||||
enable = true;
|
|
||||||
flake = inputs.self.outPath;
|
|
||||||
flags = [
|
|
||||||
"--update-input"
|
|
||||||
"nixpkgs"
|
|
||||||
"-L"
|
|
||||||
];
|
|
||||||
dates = "09:00";
|
|
||||||
randomizedDelaySec = "45min";
|
|
||||||
};
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
100
home.nix
100
home.nix
@ -19,22 +19,25 @@
|
|||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
# environment.
|
# environment.
|
||||||
home.packages = with pkgs; [
|
home.packages = [
|
||||||
zsh
|
pkgs.nerdfonts
|
||||||
starship
|
pkgs.lazygit
|
||||||
zoxide
|
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||||
nerdfonts
|
# # "Hello, world!" when run.
|
||||||
lazygit
|
# pkgs.hello
|
||||||
btop
|
|
||||||
bat
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||||
eza
|
# # overrides. You can do that directly here, just don't forget the
|
||||||
unzip
|
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
||||||
rustup
|
# # fonts?
|
||||||
keepassxc
|
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
||||||
nextcloud-client
|
|
||||||
firefox
|
# # You can also create simple shell scripts directly inside your
|
||||||
thunderbird
|
# # configuration. For example, this adds a command 'my-hello' to your
|
||||||
xournalpp
|
# # environment:
|
||||||
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||||
|
# echo "Hello, ${config.home.username}!"
|
||||||
|
# '')
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
@ -68,72 +71,9 @@
|
|||||||
# /etc/profiles/per-user/max/etc/profile.d/hm-session-vars.sh
|
# /etc/profiles/per-user/max/etc/profile.d/hm-session-vars.sh
|
||||||
#
|
#
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
# EDITOR = "emacs";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
enableAutosuggestions = true;
|
|
||||||
enableCompletion = true;
|
|
||||||
defaultKeymap = "emacs";
|
|
||||||
dotDir = ".config/zsh";
|
|
||||||
history.expireDuplicatesFirst = true;
|
|
||||||
history.path = "$ZDOTDIR/.zsh_history";
|
|
||||||
historySubstringSearch.enable = true;
|
|
||||||
shellAliases = {
|
|
||||||
ls = "exa --icons -a --group-directories-first";
|
|
||||||
diff = "diff --color=auto";
|
|
||||||
grep = "grep --color=auto";
|
|
||||||
ip = "ip --color=auto";
|
|
||||||
mkdir = "mkdir -p";
|
|
||||||
gst = "git status";
|
|
||||||
gc = "git commit";
|
|
||||||
ga = "git add";
|
|
||||||
gpl = "git pull";
|
|
||||||
gpu = "git push";
|
|
||||||
gd = "git diff";
|
|
||||||
gch = "git checkout";
|
|
||||||
gs = "git switch";
|
|
||||||
gre = "git restore";
|
|
||||||
gr = "git remote";
|
|
||||||
gcl = "git clone";
|
|
||||||
glg = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold green)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold yellow)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all";
|
|
||||||
gb = "git branch";
|
|
||||||
gm = "git merge";
|
|
||||||
gf = "git fetch";
|
|
||||||
rebuild = "~/dotfiles/nixos/rebuild.sh";
|
|
||||||
};
|
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
syntaxHighlighting.highlighters = ["main" "brackets"];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.starship = {
|
|
||||||
enable = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
enableZshIntegration = true;
|
|
||||||
settings = {
|
|
||||||
add_newline = false;
|
|
||||||
command_timeout = 5000;
|
|
||||||
character = {
|
|
||||||
success_symbol = "[->](bold green)";
|
|
||||||
error_symbol = "[ X](bold red)";
|
|
||||||
};
|
|
||||||
cmd_duration = {
|
|
||||||
min_time = 500;
|
|
||||||
show_milliseconds = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zoxide = {
|
|
||||||
enable = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
enableZshIntegration = true;
|
|
||||||
options = ["--cmd cd"];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nextcloud-client.enable = true;
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user