added zsh.nix file

This commit is contained in:
Rohan Deshpande 2024-09-12 11:31:24 -04:00
parent 40391bcb0b
commit 6e6054f2bb
3 changed files with 23 additions and 19 deletions
flake.lock
homeManagerModules
hosts/xps

View File

@ -317,11 +317,11 @@
]
},
"locked": {
"lastModified": 1726036828,
"narHash": "sha256-ZQHbpyti0jcAKnwQY1lwmooecLmSG6wX1JakQ/eZNeM=",
"lastModified": 1726142087,
"narHash": "sha256-uT4TRd3PgreUD5sJaNioVfMemdyWFLoPHqN4AFszGmw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "8a1671642826633586d12ac3158e463c7a50a112",
"rev": "da8406a6ff556b86dc368e96ca8bd81b2704a91a",
"type": "github"
},
"original": {
@ -470,11 +470,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1726027257,
"narHash": "sha256-hsdIfpIB5wzEehgOSaifBJwY3Tn0P0wiU9pTf8nRBQc=",
"lastModified": 1726133505,
"narHash": "sha256-5Q7Io0J98z7UOswrruOuO/jJNduSB3PKFw/sDz0NX1A=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "11c133e89e4090c43445a2c3b5af2322831d7219",
"rev": "4697b96a0124944929ecefa09d488c7997419e43",
"type": "github"
},
"original": {

View File

@ -0,0 +1,16 @@
{config, pkgs, ...}: {
programs.zsh = {
enable = true;
enableSyntaxHighlighting = true;
loginExtra = "sway --unsupported-gpu";
shellAliases = {
"update" = "sudo nixos-rebuild switch --flake /home/rohand/nixos-surface-config#xps";
};
oh-my-zsh = {
enable = true;
plugins = ["git" "vi-mode"];
theme = "afowler";
};
};
}

View File

@ -11,6 +11,7 @@
./../../homeManagerModules/pandoc.nix
./../../homeManagerModules/bat.nix
./../../homeManagerModules/i3status.nix
./../../homeManagerModules/zsh.nix
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
@ -46,19 +47,6 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.zsh = {
enable = true;
enableSyntaxHighlighting = true;
loginExtra = "sway --unsupported-gpu";
shellAliases = {
"update" = "sudo nixos-rebuild switch --flake /home/rohand/nixos-surface-config#xps";
};
oh-my-zsh = {
enable = true;
plugins = ["git" "vi-mode"];
theme = "minimal";
};
};
#programs.alacritty = {
# enable = true;
#};