migrate terminal config to nix

This commit is contained in:
Benjamin Palko 2024-07-14 23:19:06 -04:00
parent 8d5d84dedb
commit 5eec1d1c38
4 changed files with 64 additions and 38 deletions

View file

@ -16,8 +16,11 @@ in
./nvidia.nix
./audio.nix
./services.nix
./hyprland.nix
];
environment.shells = with pkgs; [ zsh ];
programs.zsh.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.${username} = {
shell = pkgs.zsh;
@ -63,7 +66,10 @@ in
users.${username} = {
home.username = username;
home.homeDirectory = "/home/${username}";
imports = [ ./home.nix ];
imports = [
../home-manager/terminal.nix
./home.nix
];
};
};
@ -91,7 +97,6 @@ in
swaynotificationcenter
swww
pywal
kitty
rofi
emote
# Screenshots
@ -100,10 +105,6 @@ in
swappy
];
programs.zsh.enable = true;
programs.starship.enable = true;
fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ];
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play