mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
direnv
This commit is contained in:
parent
988155162d
commit
00ba15ab51
|
@ -139,13 +139,16 @@
|
|||
package = pkgs.gitFull;
|
||||
};
|
||||
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
||||
# List packages installed in system profile.
|
||||
# environment.systemPackages = [];
|
||||
environment = {
|
||||
pathsToLink = ["/share/zsh"];
|
||||
|
||||
# List packages installed in system profile.
|
||||
# systemPackages = [];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [pkgs.gnomeExtensions.gsconnect];
|
||||
|
||||
# remove some gnome default apps
|
||||
environment.gnome.excludePackages = with pkgs.gnome; [
|
||||
cheese # photo booth
|
||||
|
|
14
home.nix
14
home.nix
|
@ -73,6 +73,7 @@
|
|||
powerline
|
||||
powerline-fonts
|
||||
thefuck
|
||||
direnv
|
||||
]
|
||||
# development
|
||||
++ [
|
||||
|
@ -105,20 +106,29 @@
|
|||
home-manager.enable = true;
|
||||
zsh = {
|
||||
enable = true;
|
||||
|
||||
# syntaxHighlighting.enable = true;
|
||||
enableAutosuggestions = true;
|
||||
enableVteIntegration = true;
|
||||
|
||||
shellAliases = {
|
||||
my-update = "sudo nixos-rebuild switch";
|
||||
my-config = "sudo nano /etc/nixos/configuration.nix";
|
||||
my-fmt = "sudo alejandra /etc/nixos/configuration.nix";
|
||||
my-fmt = "alejandra .";
|
||||
};
|
||||
|
||||
history = {
|
||||
size = 10000;
|
||||
path = "${config.xdg.dataHome}/zsh/history";
|
||||
expireDuplicatesFirst = true;
|
||||
};
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "agnoster";
|
||||
plugins = ["git" "sudo" "docker" "systemadmin" "thefuck"];
|
||||
};
|
||||
|
||||
initExtra = "eval \"$(direnv hook zsh)\"";
|
||||
};
|
||||
|
||||
git = {
|
||||
|
|
Loading…
Reference in a new issue