Compare commits
2 Commits
bfa912f513
...
30ad37c30f
| Author | SHA1 | Date | |
|---|---|---|---|
| 30ad37c30f | |||
| 2253423fc4 |
30
flake.lock
generated
30
flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747556831,
|
"lastModified": 1748226808,
|
||||||
"narHash": "sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc=",
|
"narHash": "sha256-GaBRgxjWO1bAQa8P2+FDxG4ANBVhjnSjBms096qQdxo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "d0bbd221482c2713cccb80220f3c9d16a6e20a33",
|
"rev": "83665c39fa688bd6a1f7c43cf7997a70f6a109f9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -28,11 +28,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747834438,
|
"lastModified": 1748227609,
|
||||||
"narHash": "sha256-AHJt79W8wADzur2htCx1U8FtEk4XjvrHb9/3iDfNedI=",
|
"narHash": "sha256-SaSdslyo6UGDpPUlmrPA4dWOEuxCy2ihRN9K6BnqYsA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6c2eb1e24cd0e76d88bdd633ef4c50d6286586e0",
|
"rev": "d23d20f55d49d8818ac1f1b2783671e8a6725022",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -43,11 +43,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747610100,
|
"lastModified": 1748162331,
|
||||||
"narHash": "sha256-rpR5ZPMkWzcnCcYYo3lScqfuzEw5Uyfh+R0EKZfroAc=",
|
"narHash": "sha256-rqc2RKYTxP3tbjA+PB3VMRQNnjesrT0pEofXQTrMsS8=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ca49c4304acf0973078db0a9d200fd2bae75676d",
|
"rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -59,11 +59,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747744144,
|
"lastModified": 1748190013,
|
||||||
"narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=",
|
"narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f",
|
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -89,11 +89,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743756170,
|
"lastModified": 1747603214,
|
||||||
"narHash": "sha256-2b11EYa08oqDmF3zEBLkG1AoNn9rB1k39ew/T/mSvbU=",
|
"narHash": "sha256-lAblXm0VwifYCJ/ILPXJwlz0qNY07DDYdLD+9H+Wc8o=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "cff8437c5fe8c68fc3a840a21bf1f4dc801da40d",
|
"rev": "8d215e1c981be3aa37e47aeabd4e61bb069548fd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -1,7 +1,64 @@
|
|||||||
include "%L"
|
include "%L"
|
||||||
|
|
||||||
<Multi_key> <m> <u> : "μ"
|
<Multi_key> <m> <u> : "μ"
|
||||||
|
<Multi_key> <p> <i> : "π"
|
||||||
<Multi_key> <minus> <comma> : "¬"
|
<Multi_key> <minus> <comma> : "¬"
|
||||||
<Multi_key> <asciicircum> <asciicircum> : "∧"
|
<Multi_key> <asciicircum> <asciicircum> : "∧"
|
||||||
<Multi_key> <v> <v> : "∨"
|
<Multi_key> <v> <v> : "∨"
|
||||||
|
|
||||||
|
# GREEK CAPITAL LETTERS
|
||||||
|
<Multi_key> <G> <A> : "Α" U0391 # GREEK CAPITAL LETTER ALPHA
|
||||||
|
<Multi_key> <G> <B> : "Β" U0392 # GREEK CAPITAL LETTER BETA
|
||||||
|
<Multi_key> <G> <G> : "Γ" U0393 # GREEK CAPITAL LETTER GAMMA
|
||||||
|
<Multi_key> <G> <D> : "Δ" U0394 # GREEK CAPITAL LETTER DELTA
|
||||||
|
<Multi_key> <G> <E> : "Ε" U0395 # GREEK CAPITAL LETTER EPSILON
|
||||||
|
<Multi_key> <G> <Z> : "Ζ" U0396 # GREEK CAPITAL LETTER ZETA
|
||||||
|
<Multi_key> <G> <H> : "Η" U0397 # GREEK CAPITAL LETTER ETA
|
||||||
|
<Multi_key> <G> <I> : "Ι" U0399 # GREEK CAPITAL LETTER IOTA
|
||||||
|
<Multi_key> <G> <K> : "Κ" U039A # GREEK CAPITAL LETTER KAPPA
|
||||||
|
<Multi_key> <G> <L> : "Λ" U039B # GREEK CAPITAL LETTER LAMDA
|
||||||
|
<Multi_key> <G> <M> : "Μ" U039C # GREEK CAPITAL LETTER MU
|
||||||
|
<Multi_key> <G> <N> : "Ν" U039D # GREEK CAPITAL LETTER NU
|
||||||
|
<Multi_key> <G> <P> : "Π" U03A0 # GREEK CAPITAL LETTER PI
|
||||||
|
<Multi_key> <G> <R> : "Ρ" U03A1 # GREEK CAPITAL LETTER RHO
|
||||||
|
<Multi_key> <G> <S> : "Σ" U03A3 # GREEK CAPITAL LETTER SIGMA
|
||||||
|
<Multi_key> <G> <T> : "Τ" U03A4 # GREEK CAPITAL LETTER TAU
|
||||||
|
<Multi_key> <G> <U> : "Υ" U03A5 # GREEK CAPITAL LETTER UPSILON
|
||||||
|
<Multi_key> <G> <F> : "Φ" U03A6 # GREEK CAPITAL LETTER PHI
|
||||||
|
<Multi_key> <G> <X> : "Χ" U03A7 # GREEK CAPITAL LETTER CHI
|
||||||
|
<Multi_key> <G> <O> : "Ω" U03A9 # GREEK CAPITAL LETTER OMEGA
|
||||||
|
|
||||||
|
# DOUBLES (additional stroke <Q>)
|
||||||
|
<Multi_key> <G> <Q> <T> : "Θ" U0398 # GREEK CAPITAL LETTER THETA
|
||||||
|
<Multi_key> <G> <Q> <O> : "Ο" U039F # GREEK CAPITAL LETTER OMICRON
|
||||||
|
<Multi_key> <G> <Q> <X> : "Ξ" U039E # GREEK CAPITAL LETTER XI
|
||||||
|
<Multi_key> <G> <Q> <P> : "Ψ" U03A8 # GREEK CAPITAL LETTER PSI
|
||||||
|
|
||||||
|
# greek small letters
|
||||||
|
<Multi_key> <g> <a> : "α" U03B1 # GREEK SMALL LETTER ALPHA
|
||||||
|
<Multi_key> <g> <b> : "β" U03B2 # GREEK SMALL LETTER BETA
|
||||||
|
<Multi_key> <g> <g> : "γ" U03B3 # GREEK SMALL LETTER GAMMA
|
||||||
|
<Multi_key> <g> <d> : "δ" U03B4 # GREEK SMALL LETTER DELTA
|
||||||
|
<Multi_key> <g> <e> : "ε" U03B5 # GREEK SMALL LETTER EPSILON
|
||||||
|
<Multi_key> <g> <z> : "ζ" U03B6 # GREEK SMALL LETTER ZETA
|
||||||
|
<Multi_key> <g> <h> : "η" U03B7 # GREEK SMALL LETTER ETA
|
||||||
|
<Multi_key> <g> <i> : "ι" U03B9 # GREEK SMALL LETTER IOTA
|
||||||
|
<Multi_key> <g> <k> : "κ" U03BA # GREEK SMALL LETTER KAPPA
|
||||||
|
<Multi_key> <g> <l> : "λ" U03BB # GREEK SMALL LETTER LAMDA
|
||||||
|
<Multi_key> <g> <m> : "μ" U03BC # GREEK SMALL LETTER MU
|
||||||
|
<Multi_key> <g> <n> : "ν" U03BD # GREEK SMALL LETTER NU
|
||||||
|
<Multi_key> <g> <p> : "π" U03C0 # GREEK SMALL LETTER PI
|
||||||
|
<Multi_key> <g> <r> : "ρ" U03C1 # GREEK SMALL LETTER RHO
|
||||||
|
<Multi_key> <g> <s> : "σ" U03C3 # GREEK SMALL LETTER SIGMA
|
||||||
|
<Multi_key> <g> <t> : "τ" U03C4 # GREEK SMALL LETTER TAU
|
||||||
|
<Multi_key> <g> <u> : "υ" U03C5 # GREEK SMALL LETTER UPSILON
|
||||||
|
<Multi_key> <g> <f> : "φ" U03C6 # GREEK SMALL LETTER PHI
|
||||||
|
<Multi_key> <g> <x> : "χ" U03C7 # GREEK SMALL LETTER CHI
|
||||||
|
<Multi_key> <g> <o> : "ω" U03C9 # GREEK SMALL LETTER OMEGA
|
||||||
|
|
||||||
|
# doubles (additional stroke <q>)
|
||||||
|
<Multi_key> <g> <q> <t> : "θ" U03B8 # GREEK SMALL LETTER THETA
|
||||||
|
<Multi_key> <g> <q> <o> : "ο" U03BF # GREEK SMALL LETTER OMICRON
|
||||||
|
<Multi_key> <g> <q> <p> : "ψ" U03C8 # GREEK SMALL LETTER PSI
|
||||||
|
<Multi_key> <g> <q> <s> : "ς" U03C2 # GREEK SMALL LETTER FINAL SIGMA
|
||||||
|
<Multi_key> <g> <q> <x> : "ξ" U03BE # GREEK SMALL LETTER X
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# Dev apps
|
# Dev apps
|
||||||
@@ -13,6 +13,10 @@
|
|||||||
./sh.nix
|
./sh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
hyperfine # Benchmarking tool
|
||||||
|
];
|
||||||
|
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
|||||||
@@ -12,9 +12,6 @@
|
|||||||
"l" = "log --oneline";
|
"l" = "log --oneline";
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core = {
|
|
||||||
pager = "";
|
|
||||||
};
|
|
||||||
pull = {
|
pull = {
|
||||||
rebase = true;
|
rebase = true;
|
||||||
};
|
};
|
||||||
@@ -25,5 +22,7 @@
|
|||||||
defaultBranch = "main";
|
defaultBranch = "main";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# Enable the delta diff pager.
|
||||||
|
delta.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,10 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./uutils.nix
|
||||||
|
];
|
||||||
|
|
||||||
# These are all the sort of shell commands that we want available whereever
|
# These are all the sort of shell commands that we want available whereever
|
||||||
# there is shell. These include just a lot of useful utilities for managing
|
# there is shell. These include just a lot of useful utilities for managing
|
||||||
# a system or working with other shell commands. Packages more specific to
|
# a system or working with other shell commands. Packages more specific to
|
||||||
@@ -20,16 +24,22 @@
|
|||||||
p7zip
|
p7zip
|
||||||
file
|
file
|
||||||
tree
|
tree
|
||||||
ranger
|
yazi # File manager
|
||||||
ueberzugpp # for image previews
|
ueberzugpp # for image previews
|
||||||
w3m # terminal browser for image previews
|
w3m # terminal browser for image previews
|
||||||
dysk # better disk info
|
dysk # better disk info
|
||||||
|
ripgrep # better grep
|
||||||
|
fd # Better find
|
||||||
|
bat # cat with wings
|
||||||
|
eza # Modern replacement for ls
|
||||||
|
dust # More intuitive du
|
||||||
|
dua # Interactive disk usage analyzer
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
dnsutils
|
dnsutils
|
||||||
inetutils
|
inetutils
|
||||||
socat
|
socat
|
||||||
httpie
|
xh
|
||||||
|
|
||||||
# devices
|
# devices
|
||||||
usbutils
|
usbutils
|
||||||
@@ -42,7 +52,14 @@
|
|||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
"p?" = "ps ax | grep";
|
"p?" = "ps ax | grep";
|
||||||
# Dysk is basically just better.
|
# Dysk is basically just better.
|
||||||
"df" = "dysk";
|
"df" = "echo 'Don't you want `dysk`?'";
|
||||||
|
"grep" = "echo 'Don't you want `rg`?'";
|
||||||
|
"find" = "echo 'Don't you want `fd`?'";
|
||||||
|
"cat" = "bat";
|
||||||
|
"ls" = "eza";
|
||||||
|
"http" = "echo 'Don't you want `xh`?'";
|
||||||
|
"du" = "echo 'Don't you want `dust` or `dua`?'";
|
||||||
|
"ranger" = "echo 'Don't you want `yazi`?'";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
@@ -97,6 +114,12 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.zoxide = {
|
||||||
|
# TODO: Learn all the capabilities of zoxide and use them.
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
7
home-manager/features/uutils.nix
Normal file
7
home-manager/features/uutils.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Use uutils core-utils with no prefix so they override the GNU coreutils
|
||||||
|
(lib.hiPrio uutils-coreutils-noprefix)
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user