remove more redundant materials
This commit is contained in:
parent
3d4c88b066
commit
db8c85221a
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
../../home/x11.nix
|
||||
../../home/chromium
|
||||
];
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
../../home/x11.nix
|
||||
../../home/chromium
|
||||
];
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
{ lib, inputs, config, pkgs, home, ... }:
|
||||
|
||||
let
|
||||
plib = import ../../lib { inherit pkgs; };
|
||||
in {
|
||||
{
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
package = lib.mkForce (plib.mkPackageWrapper
|
||||
pkgs.brave
|
||||
"export HOME=$HOME/.cache/brave"
|
||||
""
|
||||
"--args --disable-frame-rate-limit"
|
||||
);
|
||||
package = pkgs.brave;
|
||||
extensions = [
|
||||
{ id = "ecnphlgnajanjnkcmbpancdjoidceilk"; }
|
||||
];
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{ lib, inputs, config, pkgs, home, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
ungoogled-chromium
|
||||
];
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
package = pkgs.ungoogled-chromium;
|
||||
extensions = [
|
||||
{ id = "ecnphlgnajanjnkcmbpancdjoidceilk"; }
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,15 +1,13 @@
|
|||
{ lib, config, pkgs, ...}:
|
||||
|
||||
let
|
||||
plib = import ../lib { inherit pkgs; };
|
||||
in {
|
||||
home.packages = [
|
||||
pkgs.xclip
|
||||
pkgs.xcape
|
||||
pkgs.mpv
|
||||
pkgs.sxiv
|
||||
pkgs.xwallpaper
|
||||
pkgs.xbrightness
|
||||
pkgs.xdotool
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
xclip
|
||||
xcape
|
||||
mpv
|
||||
sxiv
|
||||
xwallpaper
|
||||
xbrightness
|
||||
xdotool
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
let
|
||||
getPkgName =
|
||||
pkg:
|
||||
builtins.elemAt (builtins.split "-" pkg.name) 0;
|
||||
in {
|
||||
mkPackageWrapper =
|
||||
pkg:
|
||||
environ:
|
||||
prefix:
|
||||
postfix:
|
||||
pkgs.writeScriptBin
|
||||
(getPkgName pkg)
|
||||
''
|
||||
#! ${pkgs.bash}/bin/bash
|
||||
${environ}
|
||||
exec ${prefix} ${pkg}/bin/${getPkgName pkg} ${postfix} "$@"
|
||||
'';
|
||||
mkQuarantinedPackage =
|
||||
pkg:
|
||||
pkgs.writeScriptBin
|
||||
(getPkgName pkg)
|
||||
''
|
||||
#! ${pkgs.bash}/bin/bash
|
||||
export HOME=$HOME/.local/${getPkgName pkg}
|
||||
exec ${pkg}/bin/${getPkgName pkg}
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue