change hyprland to niri
All checks were successful
/ update-readme (push) Successful in 26s

This commit is contained in:
dim
2025-11-30 13:14:41 +07:00
parent 28f82915cf
commit fe6455b4f2
18 changed files with 741 additions and 271 deletions

View File

@@ -1,4 +1,8 @@
{ pkgs, inputs, ... }: {
{
pkgs,
inputs,
...
}: {
programs.firefox = {
enable = true;
profiles.dark = {
@@ -49,56 +53,59 @@
search = {
force = true;
default = "Searx";
order = [ "Searx" "google" ];
order = ["Searx" "google"];
engines = {
"Nix Packages" = {
urls = [{
template = "https://search.nixos.org/packages";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}];
icon =
"''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
urls = [
{
template = "https://search.nixos.org/packages";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}
];
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@np"];
};
"NixOS Wiki" = {
urls = [{
template = "https://nixos.wiki/index.php?search={searchTerms}";
}];
urls = [
{
template = "https://nixos.wiki/index.php?search={searchTerms}";
}
];
icon = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@nw" ];
definedAliases = ["@nw"];
};
"Searx" = {
urls = [{
template = "https://searx.aicampground.com/?q={searchTerms}";
}];
urls = [
{
template = "https://searx.aicampground.com/?q={searchTerms}";
}
];
icon = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@searx" ];
definedAliases = ["@searx"];
};
bing.metaData.hidden = true;
google.metaData.alias =
"@g"; # builtin engines only support specifying one additional alias
google.metaData.alias = "@g"; # builtin engines only support specifying one additional alias
};
};
extensions.packages =
with inputs.firefox-addons.packages.${pkgs.system}; [
bitwarden
multi-account-containers
zotero-connector
unpaywall
];
extensions.packages = with inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system}; [
bitwarden
multi-account-containers
zotero-connector
unpaywall
];
};
};
stylix.targets.firefox.profileNames = [ "dark" ];
stylix.targets.firefox.profileNames = ["dark"];
}

View File

@@ -0,0 +1,18 @@
{
inputs,
pkgs,
...
}: {
programs.helix = {
enable = true;
languages = {
language = [
{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
}
];
};
};
}

View File

@@ -1,6 +1,10 @@
{ inputs, pkgs, ... }: {
inputs = [
inputs.nfv.homeManagerModules.default
{
inputs,
pkgs,
...
}: {
imports = [
inputs.nvf.homeManagerModules.default
./options.nix
./languages.nix
./picker.nix
@@ -9,5 +13,12 @@
./utils.nix
./mini.nix
];
programs.nvf = { enable = true; };
programs.nvf = {
enable = true;
settings.vim = {
startPlugins = [
pkgs.vimPlugins.vim-kitty-navigator
];
};
};
}

View File

@@ -74,7 +74,7 @@
php = {
enable = true;
server = "intelephense";
lsp.server = "intelephense";
};
go.enable = true;
markdown = {

View File

@@ -1,13 +1,16 @@
# Spicetify is a spotify client customizer
{ pkgs, config, lib, inputs, ... }:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
{
pkgs,
config,
lib,
inputs,
...
}: let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
accent = "${config.lib.stylix.colors.base0D}";
background = "${config.lib.stylix.colors.base00}";
in {
imports = [ inputs.spicetify-nix.homeManagerModules.default ];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "spotify" ];
imports = [inputs.spicetify-nix.homeManagerModules.default];
stylix.targets.spicetify.enable = false;
@@ -21,6 +24,9 @@ in {
button = accent;
button-active = accent;
tab-active = accent;
player = background;
main = background;
sidebar = background;
};
enabledExtensions = with spicePkgs.extensions; [
@@ -31,6 +37,7 @@ in {
adblock
fullAppDisplay
shuffle
keyboardShortcut
];
};
}