update config

This commit is contained in:
fred 2025-08-12 11:58:29 -07:00
parent f610209aff
commit ae92148089
34 changed files with 387 additions and 240 deletions

View file

@ -21,11 +21,15 @@ in
home-manager.users.${config.user} = { pkgs, ... }: {
home.packages = with pkgs; [
bat
bat-extras.batman
git
lazygit
htop
btop
openssl
nixpkgs-fmt
nodejs # astronvim ls, formatters, etc
ripgrep # text search in nvim
nodejs
ripgrep
jq
file
wget

View file

@ -1,6 +1,7 @@
{ config, pkgs, firefox-addons, ... }:
{ inputs, config, pkgs, ... }:
let
firefox-addons = inputs.firefox-addons.packages.${pkgs.system} or {};
autoconfigCfg = pkgs.writeText "autoconfig.cfg" ''
var {classes:Cc,interfaces:Ci,utils:Cu} = Components;
/* set new tab page */
@ -8,7 +9,7 @@ let
ChromeUtils.defineESModuleGetters(this, {
AboutNewTab: "resource:///modules/AboutNewTab.sys.mjs",
});
var newTabURL = "https://mainframe.local/mainframe.html";
var newTabURL = "https://server.local/index.html";
AboutNewTab.newTabURL = newTabURL;
} catch(e){Cu.reportError(e);} // report errors in the Browser Console
'';
@ -35,7 +36,7 @@ in {
package = firefoxWithAutoconfig;
profiles.default = {
settings = {
"browser.startup.homepage" = "https://mainframe.local/mainframe.html";
"browser.startup.homepage" = "https://server.local/index.html";
"sidebar.verticalTabs" = true;
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
@ -64,6 +65,7 @@ in {
noscript
ublock-origin
sponsorblock
clearurls
];
};
policies = {

View file

@ -10,7 +10,10 @@
};
security.pam.services.i3lock.enable = true;
networking.networkmanager.enable = true;
networking.networkmanager = {
enable = true;
plugins = [ pkgs.networkmanager-openvpn ];
};
home-manager.users.${config.user} = { pkgs, config, ... }: {
home.packages = with pkgs; [
xorg.setxkbmap
@ -81,7 +84,6 @@
xserver = {
enable = true;
videoDrivers = [ "amdgpu" ];
xkb.layout = "us";
desktopManager = {