features/aliases: deduplicated aliases across several files.
This commit is contained in:
+5
-19
@@ -1,27 +1,13 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
sshSigningKey = builtins.readFile ./ssh-signing-key.pub;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.lazyvim.homeManagerModules.default
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
l = "ls -alh";
|
||||
ll = "ls -l";
|
||||
ls = "ls --color=tty";
|
||||
gs = "git status";
|
||||
ga = "git add";
|
||||
gc = "git commit -m";
|
||||
gpll = "git pull";
|
||||
gpsh = "git push";
|
||||
wget = "wget --hsts-file=$XDG_DATA_HOME/wget-hsts";
|
||||
ff =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then "clear;fastfetch" else "clear;fastfetch --logo nixos2";
|
||||
ffw =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||
"clear;fastfetch;printf '\n';weather kmco"
|
||||
else
|
||||
"clear;fastfetch --logo nixos2;printf '\n';weather kmco";
|
||||
};
|
||||
home.shellAliases = import ../features/aliases.nix { inherit pkgs; };
|
||||
|
||||
xdg =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||
@@ -184,7 +170,7 @@
|
||||
lfs.enable = true;
|
||||
|
||||
signing = {
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5+RJOhvamBpEptCRv90E+8bVWKn6Mep61wDpPYgKP3 floturcocantsee@daguerro.net";
|
||||
key = sshSigningKey;
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5+RJOhvamBpEptCRv90E+8bVWKn6Mep61wDpPYgKP3 floturcocantsee@daguerro.net
|
||||
Reference in New Issue
Block a user