qutebrowser???git commit -m pipewire

This commit is contained in:
Sakooooo 2023-07-08 20:18:57 +03:00
parent 63ed764946
commit 8bd2bb2da3
Signed by: sako
GPG key ID: 3FD715D87D7725E0
6 changed files with 64 additions and 20 deletions

View file

@ -15,10 +15,14 @@
desktop = {
kitty.enable = true;
bspwm.enable = true;
apps = {
qutebrowser.enable = true;
};
};
hardware = {
nvidia.enable = true;
pipewire.enable = true;
bluetooth.enable = true;
};
shell = {
nix = {
@ -29,19 +33,6 @@
};
};
# Bluetooth
hardware.bluetooth = {
enable = true;
settings = {
General = {
ControllerMode = "bredr";
};
};
# i barely use bluetooth so keep it on demand
powerOnBoot = false;
};
services.blueman.enable = true;
# Enable CUPS to print documents.
# services.printing.enable = true;
@ -56,13 +47,6 @@
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [
firefox
# qutebrowser
qutebrowser-qt6
# qute-keepassxc
python310Packages.pynacl
# adblock
python310Packages.adblock
# end qutebrowser
keepassxc
tree
dmenu

View file

@ -0,0 +1,5 @@
{
imports = [
./qutebrowser
];
}

View file

@ -0,0 +1,30 @@
{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.apps.qutebrowser;
in
{
options.modules.desktop.apps.qutebrowser = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
qutebrowser-qt6
python310Packages.pynacl
python310Packages.adblock
];
home-manager.users.sako = { pkgs , ...}: {
xdg.configFile = {
"qutebrowser/config.py" = {
source = ../../../config/qutebrowser/config.py;
};
"qutebrowser/greasemonkey" = {
source = ../../../config/qutebrowser/greasemonkey;
recursive = true;
};
};
};
};
}

View file

@ -2,5 +2,6 @@
imports = [
./kitty
./bspwm
./apps
];
}

View file

@ -0,0 +1,23 @@
{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.hardware.bluetooth;
in
{
options.modules.hardware.bluetooth = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
settings = {
General = {
ControllerMode = "bredr";
};
};
powerOnBoot = false;
};
services.blueman.enable = true;
};
}

View file

@ -2,5 +2,6 @@
imports = [
./nvidia
./pipewire
./bluetooth
];
}