mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
ref(nix): formatted with nixfmt-rfc-style
This commit is contained in:
parent
36a2265325
commit
23404db605
40 changed files with 574 additions and 474 deletions
|
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
hostname,
|
||||
...
|
||||
}: let
|
||||
{ pkgs, hostname, ... }:
|
||||
let
|
||||
abbrs = {
|
||||
## Docker
|
||||
dc = "docker compose";
|
||||
|
|
@ -69,23 +66,14 @@
|
|||
defaults write com.apple.dock persistent-apps -array-add '{tile-type="small-spacer-tile";}'; killall Dock
|
||||
'';
|
||||
};
|
||||
in {
|
||||
programs.fish = let
|
||||
inherit (pkgs.stdenv) isLinux;
|
||||
in {
|
||||
shellAbbrs =
|
||||
abbrs
|
||||
// (
|
||||
if isLinux
|
||||
then abbrsLinux
|
||||
else abbrsDarwin
|
||||
);
|
||||
shellAliases =
|
||||
aliases
|
||||
// (
|
||||
if isLinux
|
||||
then aliasesLinux
|
||||
else aliasesDarwin
|
||||
);
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.fish =
|
||||
let
|
||||
inherit (pkgs.stdenv) isLinux;
|
||||
in
|
||||
{
|
||||
shellAbbrs = abbrs // (if isLinux then abbrsLinux else abbrsDarwin);
|
||||
shellAliases = aliases // (if isLinux then aliasesLinux else aliasesDarwin);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue