change fish prompt
This commit is contained in:
parent
42ec4bc5bb
commit
805ed0d29e
|
@ -0,0 +1,10 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
plugins = [
|
||||||
|
{
|
||||||
|
name = "pure";
|
||||||
|
src = pkgs.fishPlugins.pure.src;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
2
home.nix
2
home.nix
|
@ -1,10 +1,12 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
nvimCustom = import nvim/settings.nix;
|
nvimCustom = import nvim/settings.nix;
|
||||||
|
fishCustom = import fish/settings.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.zoe = { pkgs, ... }: {
|
home-manager.users.zoe = { pkgs, ... }: {
|
||||||
programs.neovim = nvimCustom pkgs;
|
programs.neovim = nvimCustom pkgs;
|
||||||
|
programs.fish = fishCustom pkgs;
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "zoe";
|
userName = "zoe";
|
||||||
|
|
3
sync.sh
3
sync.sh
|
@ -7,12 +7,13 @@ git pull
|
||||||
nixpkgs-fmt *.nix
|
nixpkgs-fmt *.nix
|
||||||
nixpkgs-fmt ./nvim/*.nix
|
nixpkgs-fmt ./nvim/*.nix
|
||||||
nixpkgs-fmt ./penrose/*.nix
|
nixpkgs-fmt ./penrose/*.nix
|
||||||
|
nixpkgs-fmt ./fish/*.nix
|
||||||
|
|
||||||
# make a backup just in case
|
# make a backup just in case
|
||||||
cp -r /etc/nixos/ ./backup
|
cp -r /etc/nixos/ ./backup
|
||||||
|
|
||||||
# copy over all the files to /etc/nixos/
|
# copy over all the files to /etc/nixos/
|
||||||
sudo cp -r ./configuration.nix ./nvim/ ./packages.nix ./home.nix ./user.nix /etc/nixos/
|
sudo cp -r ./configuration.nix ./fish ./nvim/ ./packages.nix ./home.nix ./user.nix /etc/nixos/
|
||||||
|
|
||||||
# build penrose and copy it to nixos folder
|
# build penrose and copy it to nixos folder
|
||||||
cd ./penrose
|
cd ./penrose
|
||||||
|
|
Loading…
Reference in New Issue