tweak
This commit is contained in:
parent
1f6aab3200
commit
9c47aba177
2 changed files with 18 additions and 7 deletions
|
@ -77,12 +77,22 @@
|
|||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFvtBCUQEi7r6mXdaULEaMMvGH1IWZBX9tXpjbIECar2 matt@emenel.ca" ];
|
||||
packages = with pkgs; [
|
||||
# thunderbird
|
||||
git
|
||||
];
|
||||
};
|
||||
|
||||
# Install firefox.
|
||||
programs.firefox.enable = true;
|
||||
# enable fish and launch it from bash for interactive shells
|
||||
programs.fish.enable = true;
|
||||
programs.bash = {
|
||||
interactiveShellInit = ''
|
||||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||
then
|
||||
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
@ -92,7 +102,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
wget
|
||||
pkgs.home-manager
|
||||
home-manager
|
||||
curl
|
||||
git
|
||||
rsync
|
||||
|
|
7
home.nix
7
home.nix
|
@ -10,14 +10,15 @@
|
|||
fzf
|
||||
bat
|
||||
jq
|
||||
starship
|
||||
];
|
||||
|
||||
# This needs to actually be set to your username
|
||||
username = "emenel";
|
||||
homeDirectory = "/home/emenel";
|
||||
|
||||
# You do not need to change this if you're reading this in the future.
|
||||
# Don't ever change this after the first build. Don't ask questions.
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs.fish.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue