guys i've installed nix on my smartphomn
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
13
hosts/pixel/users/droid/home-configuration.nix
Normal file
13
hosts/pixel/users/droid/home-configuration.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{inputs, ...}: {
|
||||||
|
imports = with inputs; [
|
||||||
|
nix-index-database.hmModules.nix-index
|
||||||
|
self.homeModules.programs
|
||||||
|
./programs.nix
|
||||||
|
];
|
||||||
|
home = {
|
||||||
|
stateVersion = "25.05";
|
||||||
|
sessionPath = [
|
||||||
|
"$HOME/.local/bin"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
61
hosts/pixel/users/droid/programs.nix
Normal file
61
hosts/pixel/users/droid/programs.nix
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
shell = {
|
||||||
|
fish.enable = true;
|
||||||
|
#nushell.enable = true;
|
||||||
|
oh-my-posh.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
console.yazi.enable = true;
|
||||||
|
|
||||||
|
stylix.targets.fzf.enable = false;
|
||||||
|
services.ssh-agent.enable = true;
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
bat.enable = true;
|
||||||
|
btop = {
|
||||||
|
enable = true;
|
||||||
|
settings.update_ms = 200;
|
||||||
|
};
|
||||||
|
eza.enable = true;
|
||||||
|
fd.enable = true;
|
||||||
|
fzf = {
|
||||||
|
enable = true;
|
||||||
|
defaultOptions = ["--color=16"];
|
||||||
|
};
|
||||||
|
pay-respects.enable = true;
|
||||||
|
nix-index.enable = true;
|
||||||
|
nix-index-database.comma.enable = true;
|
||||||
|
gitui.enable = true;
|
||||||
|
git = {
|
||||||
|
enable = true;
|
||||||
|
delta.enable = true;
|
||||||
|
signing.format = "ssh";
|
||||||
|
aliases = {
|
||||||
|
cl = "clone";
|
||||||
|
co = "checkout";
|
||||||
|
pom = "push origin main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
jujutsu.enable = true;
|
||||||
|
ripgrep.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
editor = {
|
||||||
|
helix.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
alejandra # nix formatter in rust
|
||||||
|
trashy # trash cli in rust
|
||||||
|
devenv # programming deps in rust
|
||||||
|
procs # ps in rust
|
||||||
|
ouch # archive manager in runt
|
||||||
|
dust # du in rust
|
||||||
|
fend # calc in rust
|
||||||
|
moar # better pager (in go)
|
||||||
|
just # make in rust
|
||||||
|
rbw # bitwarden cli in rust
|
||||||
|
jj-fzf # fuzzy finder jujutsu tui
|
||||||
|
];
|
||||||
|
systemd.user.settings.Manager.DefaultEnvironment.PAGER = "moar";
|
||||||
|
}
|
Reference in New Issue
Block a user