modules/browsers: move all browsers to the container #19
4 changed files with 17 additions and 7 deletions
|
@ -65,6 +65,8 @@ in
|
|||
nitrogen # wallpaper manager
|
||||
];
|
||||
|
||||
programs.rofi.pass.enable = true;
|
||||
|
||||
xsession = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -277,10 +277,13 @@ myKeys conf =
|
|||
("M-S-<Return>", spawn $ XMonad.terminal conf),
|
||||
-- launch a 'flameshot' to screenshot
|
||||
("M-S-s", safeSpawn "flameshot" ["gui"]),
|
||||
-- launch 'librewolf' browser
|
||||
("M-S-b", spawn "librewolf"),
|
||||
-- launch browsers
|
||||
("M-S-b", spawn "cont-librewolf"),
|
||||
("M-S-t", spawn "cont-tor-browser"),
|
||||
-- launch 'dmenu_run' to choose applications
|
||||
("M-p", spawn "dmenu_run")
|
||||
("M-r", spawn "dmenu_run"),
|
||||
-- launch 'rofi-pass' to use password manager
|
||||
("M-p", spawn "rofi-pass")
|
||||
-- Open calculator
|
||||
-- ("<XF86Calculator>", spawn "gnome-calculator"),
|
||||
]
|
||||
|
|
|
@ -91,7 +91,12 @@ in
|
|||
config = { pkgs, ... }: {
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
# Inherit configs from host
|
||||
networking.hosts = config.networking.hosts;
|
||||
fonts = {
|
||||
inherit (config.fonts) enableDefaultPackages packages;
|
||||
fontconfig = { inherit (config.fonts.fontconfig) defaultFonts; };
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
{ pkgs, lib, inputs, ... }:
|
||||
|
||||
let
|
||||
isPassEnabled = config.local.programs.pass.enable;
|
||||
# isPassEnabled = config.local.programs.pass.enable;
|
||||
|
||||
policiesJson = pkgs.callPackage ./policies.nix {
|
||||
firefoxAddons = inputs.firefox-addons.packages."${pkgs.system}";
|
||||
withPassffAddon = isPassEnabled;
|
||||
# withPassffAddon = isPassEnabled;
|
||||
withRedirectorAddon = true;
|
||||
withSidebarTabsAddon = true;
|
||||
withAllSearchEngines = true;
|
||||
|
@ -13,7 +13,7 @@ let
|
|||
|
||||
librewolf' = with pkgs.unstable; librewolf.override {
|
||||
extraPoliciesFiles = librewolf.unwrapped.extraPoliciesFiles ++ [ policiesJson ];
|
||||
nativeMessagingHosts = lib.optional isPassEnabled passff-host;
|
||||
# nativeMessagingHosts = lib.optional isPassEnabled passff-host;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue