Format nix files
This commit is contained in:
parent
45b85d0452
commit
f2fd2be328
30 changed files with 329 additions and 231 deletions
|
|
@ -1,18 +1,23 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting
|
||||
starship init fish | source
|
||||
'';
|
||||
shellAliases = let flakeDir = "~/nix"; in {
|
||||
rb = "sudo nixos-rebuild switch --flake ${flakeDir}";
|
||||
upg = "sudo nix flake update --flake ${flakeDir} && sudo nixos-rebuild switch --flake ${flakeDir}";
|
||||
hms = "home-manager switch --flake ${flakeDir}";
|
||||
ed = "hx ${flakeDir}";
|
||||
ff = "fastfetch -c neofetch";
|
||||
ls = "lsd";
|
||||
};
|
||||
shellAliases =
|
||||
let
|
||||
flakeDir = "~/nix";
|
||||
in
|
||||
{
|
||||
rb = "sudo nixos-rebuild switch --flake ${flakeDir}";
|
||||
upg = "sudo nix flake update --flake ${flakeDir} && sudo nixos-rebuild switch --flake ${flakeDir}";
|
||||
hms = "home-manager switch --flake ${flakeDir}";
|
||||
ed = "hx ${flakeDir}";
|
||||
ff = "fastfetch -c neofetch";
|
||||
ls = "lsd";
|
||||
};
|
||||
shellAbbrs = {
|
||||
dcu = "podman-compose up";
|
||||
dcub = "podman-compose up --build";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue