Watch
1
0
Fork
You've already forked chitin
0

Compare commits

..
Author SHA1 Message Date
66c3eb44ae
implemented flake-file 2026-10-27 11:19:32 +07:00
d368f48fd5
shared system constants 2026-10-27 10:52:53 +07:00
3 changed files with 2 additions and 2 deletions

17
modules/fish.nix Normal file
View file

@ -0,0 +1,17 @@
{
flake.modules.nixos.fish = {pkgs, ...}: {
users.defaultUserShell = pkgs.fish;
programs.fish = {
enable = true;
shellAbbrs = {
l = "eza --grid --all";
ll = "eza --long --all";
ls = "eza";
".." = "cd ..";
"..." = "cd ../..";
cat = "bat";
};
};
};
}

12
modules/flake/outputs.nix Normal file
View file

@ -0,0 +1,12 @@
{inputs, ...}: {
imports = [
inputs.flake-file.flakeModules.default
];
flake-file.inputs = {
flake-file.url = "github:denful/flake-file";
import-tree.url = "github:vic/import-tree";
};
flake-file.outputs = "inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} (inputs.import-tree ./modules)";
}

View file

@ -0,0 +1,19 @@
{
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
programs.starship = {
enable = true;
package = pkgs.unstable.starship;
enableTransience = true;
settings = {
"$schema" = "https://starship.rs/config-schema.json";
git_status = {
ahead = ">";
behind = "<";
diverged = "<>";
renamed = "r";
deleted = "d";
};
};
};
};
}