Compare commits

...

2 Commits

Author SHA1 Message Date
09686e1ee6 feat: Disable stylix for global fish config
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m27s
2026-03-04 17:51:21 +05:30
7caf921746 feat: Generate completions for fish and sync khal properly 2026-03-04 17:43:52 +05:30
8 changed files with 54 additions and 14 deletions

6
flake.lock generated
View File

@@ -1765,11 +1765,11 @@
"rust-overlay": "rust-overlay_6"
},
"locked": {
"lastModified": 1771950770,
"narHash": "sha256-c1AQ5sMPbXHe68u+W8gNqetAu9+jzyrOtvKOfAnFRx4=",
"lastModified": 1772623144,
"narHash": "sha256-twm2v0cmLEmad0pVs2xF1o0e+M/SxoZkVnLXbb7BTDU=",
"owner": "uttarayan21",
"repo": "nixify",
"rev": "4f4aad61bc0ef774adb87192de0aa09116eb8dfe",
"rev": "513221f2d4f2ab195c27cb35d1e8904969a748e7",
"type": "github"
},
"original": {

View File

@@ -52,9 +52,13 @@
khal = {
enable = true;
addresses = ["email@uttarayan.me"];
type = "discover";
};
vdirsyncer = {
enable = true;
conflictResolution = "remote wins";
collections = ["from a"];
metadata = ["color" "displayname"];
};
};
};

View File

@@ -8,11 +8,8 @@
stylix.targets.kitty.enable = false;
programs.kitty = {
enable = true;
# enable = false;
font = {
# name = "FiraCode Nerd Font Mono";
name = "Hasklug Nerd Font Mono";
# name = "Monaspace Krypton Var Light";
size = lib.mkForce 13;
};
settings = {

View File

@@ -86,6 +86,36 @@
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nx"]; # Keep in mind that aliases defined here only work if they start with "@"
};
hm = {
name = "Home Manager Options";
urls = [
{
template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=master";
params = [
{
name = "query";
value = "searchTerms";
}
];
}
];
definedAliases = ["@hm"];
};
nv = {
name = "NixVim";
urls = [
{
template = "https://nix-community.github.io/nixvim/search/?query={searchTerms}";
params = [
{
name = "query";
value = "searchTerms";
}
];
}
];
definedAliases = ["@nv"];
};
};
};
pins = {

View File

@@ -2,5 +2,6 @@
programs.khal.enable = true;
programs.qcal.enable = true;
programs.vdirsyncer.enable = true;
services.vdirsyncer.enable = true;
accounts.calendar.accounts.fastmail.qcal.enable = true;
}

View File

@@ -46,14 +46,14 @@
};
home.shell.enableFishIntegration = true;
programs.bash = {
enable = true;
initExtra = ''
if [[ $- == *i* && -z "$FISH_VERSION" ]]; then
exec ${lib.getExe pkgs.fish}
fi
'';
};
# programs.bash = {
# enable = true;
# initExtra = ''
# if [[ $- == *i* && -z "$FISH_VERSION" ]]; then
# ${lib.getExe pkgs.fish}
# fi
# '';
# };
}
// lib.optionalAttrs (!(device.is "tsuba")) {
stylix.targets.fish.enable = false;

View File

@@ -22,5 +22,6 @@
./foot.nix
./ddcutil.nix
./libnotify.nix
./fish.nix
];
}

View File

@@ -0,0 +1,7 @@
{...}: {
programs.fish = {
enable = true;
generateCompletions = true;
};
stylix.targets.fish.enable = false;
}