mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
ref(nix): formatted with nixfmt-rfc-style
This commit is contained in:
parent
36a2265325
commit
23404db605
40 changed files with 574 additions and 474 deletions
|
|
@ -1,8 +1,5 @@
|
|||
{ pkgs, nur, ... }:
|
||||
{
|
||||
pkgs,
|
||||
nur,
|
||||
...
|
||||
}: {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-esr;
|
||||
|
|
@ -29,7 +26,9 @@
|
|||
ExtensionRecommendations = false;
|
||||
SkipOnboarding = true;
|
||||
};
|
||||
DNSOverHTTPS = {Enabled = true;};
|
||||
DNSOverHTTPS = {
|
||||
Enabled = true;
|
||||
};
|
||||
EnableTrackingProtection = {
|
||||
Value = true;
|
||||
Cryptomining = true;
|
||||
|
|
@ -75,41 +74,31 @@
|
|||
}
|
||||
];
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = ["@np"];
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
Searxng = {
|
||||
urls = [
|
||||
{template = "https://searxng.earth2077.fr/search?query={searchTerms}";}
|
||||
];
|
||||
urls = [ { template = "https://searxng.earth2077.fr/search?query={searchTerms}"; } ];
|
||||
iconUpdateURL = "https://searxng.earth2077.fr/favicon.png";
|
||||
};
|
||||
Invidious = {
|
||||
urls = [
|
||||
{template = "https://invidious.earth2077.fr/search?q={searchTerms}";}
|
||||
];
|
||||
definedAliases = ["@yt"];
|
||||
urls = [ { template = "https://invidious.earth2077.fr/search?q={searchTerms}"; } ];
|
||||
definedAliases = [ "@yt" ];
|
||||
iconUpdateURL = "https://invidious.earth2077.fr/favicon-32x32.png";
|
||||
};
|
||||
"Hoogle" = {
|
||||
urls = [
|
||||
{template = "https://hoogle.haskell.org/?hoogle={searchTerms}";}
|
||||
];
|
||||
urls = [ { template = "https://hoogle.haskell.org/?hoogle={searchTerms}"; } ];
|
||||
iconUpdateURL = "https://hoogle.haskell.org/favicon.png";
|
||||
definedAliases = ["@hg"];
|
||||
definedAliases = [ "@hg" ];
|
||||
};
|
||||
"Genius" = {
|
||||
urls = [
|
||||
{template = "https://genius.com/search?q={searchTerms}";}
|
||||
];
|
||||
urls = [ { template = "https://genius.com/search?q={searchTerms}"; } ];
|
||||
iconUpdateURL = "https://genius.com/favicon.ico";
|
||||
definedAliases = ["@ge"];
|
||||
definedAliases = [ "@ge" ];
|
||||
};
|
||||
"NixOS Wiki" = {
|
||||
urls = [
|
||||
{template = "https://nixos.wiki/index.php?search={searchTerms}";}
|
||||
];
|
||||
urls = [ { template = "https://nixos.wiki/index.php?search={searchTerms}"; } ];
|
||||
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||
definedAliases = ["@nw"];
|
||||
definedAliases = [ "@nw" ];
|
||||
};
|
||||
"Wikipedia (en)".metaData.alias = "@wk";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [./gui ./browser.nix];
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./gui
|
||||
./browser.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
zip
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
myPkgs,
|
||||
wired,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
home.pointerCursor = {
|
||||
x11.enable = true;
|
||||
gtk.enable = true;
|
||||
|
|
@ -14,7 +15,13 @@
|
|||
|
||||
home.packages = with pkgs; [
|
||||
# fonts
|
||||
(nerdfonts.override {fonts = ["CascadiaCode" "JetBrainsMono" "Meslo"];})
|
||||
(nerdfonts.override {
|
||||
fonts = [
|
||||
"CascadiaCode"
|
||||
"JetBrainsMono"
|
||||
"Meslo"
|
||||
];
|
||||
})
|
||||
lmodern
|
||||
noto-fonts
|
||||
noto-fonts-lgc-plus
|
||||
|
|
|
|||
|
|
@ -8,26 +8,32 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShell = pkgs.mkShell {
|
||||
packages = [
|
||||
(pkgs.haskell.packages.ghc947.ghcWithPackages (hpkgs:
|
||||
with hpkgs; [
|
||||
haskell-language-server
|
||||
stylish-haskell
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShell = pkgs.mkShell {
|
||||
packages = [
|
||||
(pkgs.haskell.packages.ghc947.ghcWithPackages (
|
||||
hpkgs: with hpkgs; [
|
||||
haskell-language-server
|
||||
stylish-haskell
|
||||
|
||||
xmonad
|
||||
xmonad-contrib
|
||||
neat-interpolation
|
||||
]))
|
||||
];
|
||||
};
|
||||
});
|
||||
xmonad
|
||||
xmonad-contrib
|
||||
neat-interpolation
|
||||
]
|
||||
))
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue