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