add tablet modes for firefox and gnome

This commit is contained in:
2025-10-10 23:18:42 +01:00
parent 6c69dab6fa
commit 950fe60383
9 changed files with 136 additions and 110 deletions

View File

@@ -17,8 +17,9 @@
../../configuration/modules/gnome.nix
];
networking.hostName = "starlite"; # Define your hostname.
gnome.tablet = true;
networking.hostName = "starlite"; # Define your hostname.
environment.systemPackages = with pkgs.gnomeExtensions; [
touchup
];

View File

@@ -8,6 +8,7 @@
terminal.nixUpdateLocation = "/home/worble/Projects/nixos#starlite";
terminal.flakeUpdateLocation = "/home/worble/Projects/nixos";
firefox.tablet = true;
home.username = "worble";
home.homeDirectory = "/home/worble";

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
{
imports = [
@@ -59,7 +59,7 @@
# Let Home Manager install and manage itself.
programs = {
firefox = {
profiles.work = import ../../home-manager/firefox/firefox-profile.nix // {
profiles.work = (import ../../home-manager/firefox/firefox-profile.nix { tablet = config.firefox.tablet; }) // {
id = 1;
name = "work";
isDefault = false;