shell changes

This commit is contained in:
cnst
2024-07-14 13:42:01 +02:00
parent 477de1d21c
commit 5ac6180613
5 changed files with 9 additions and 81 deletions

View File

@@ -1,22 +0,0 @@
{
programs.chromium = {
enable = true;
extraOpts = {
"SyncDisabled" = true;
"PasswordManagerEnabled" = false;
"SpellcheckEnabled" = true;
"SpellcheckLanguage" = [
"se"
"en-US"
];
};
extensions = ''
[
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
"mnjggcdmjocbbbhaepdhchncahnbgone" # sponsorblock
"gebbhagfogifgggkldgodflihgfeippi" # return dislike
"ponfpcnoihfmfllpaingbgckeeldkhle" # enhancer for youtube
]
'';
};
}

View File

@@ -8,9 +8,8 @@
firefoxFlake = inputs.firefox-nightly.packages.${pkgs.stdenv.hostPlatform.system};
_firefoxNightly = firefoxFlake.firefox-nightly-bin;
_chromium = pkgs.chromium;
_floorp = pkgs.floorp-unwrapped;
_chromium = pkgs.ungoogled-chromium;
# _mullvad = pkgs.mullvad-browser;
in {
home.packages = lib.mkMerge [
(lib.mkIf (pkgs.hostPlatform.system == "x86_64-linux") (
@@ -19,7 +18,6 @@ in {
_firefoxNightly
pkgs.firefox-bin
_chromium
_floorp
]
))
];

View File

@@ -1,21 +0,0 @@
{
pkgs,
lib,
config,
inputs,
...
}: let
firefoxFlake = inputs.firefox-nightly.packages.${pkgs.stdenv.hostPlatform.system};
_firefoxNightly = firefoxFlake.firefox-nightly-bin;
in {
home.packages = lib.mkMerge [
(lib.mkIf (pkgs.hostPlatform.system == "x86_64-linux") (
with pkgs; [
# browsers
_firefoxNightly
pkgs.firefox-bin
floorp
]
))
];
}

View File

@@ -11,6 +11,13 @@
pkg-config
gtk3
gtk4
libadwaita
glib
clang
gnumake
cmake
nasm
perl
];
};
}

View File

@@ -1,34 +0,0 @@
{
inputs,
pkgs ? import <nixpkgs> {},
...
}: let
_rustBuildOxalica = inputs.rust-overlay.packages.${pkgs.stdenv.hostPlatform.system}.rust.override {
extensions = [
"rust-src"
"rust-analyzer"
"clippy"
];
};
_rustBuild = _rustBuildOxalica;
in {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
_rustBuild
];
buildInputs = with pkgs; [
rust-bin.stable.latest.default
openssl
pkg-config
ez
fd
gtk3
gtk4
];
shellHook = ''
alias ls=eza
alias find=fd
'';
RUST_BACKTRACE = 1;
};
}