Add firefox config for testing, picom tweaks, delete gamescope desktop env

This commit is contained in:
Evie Litherland-Smith 2023-06-16 07:14:07 +01:00
parent eb66cd5c12
commit ce8da83e52
5 changed files with 59 additions and 19 deletions

View file

@ -34,6 +34,14 @@
}; };
home-manager.users.xenia = import ./home/Vanguard/xenia.nix; home-manager.users.xenia = import ./home/Vanguard/xenia.nix;
# Steam
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true;
# Requirements for Star Citizen # Requirements for Star Citizen
boot.kernel.sysctl."vm.max_map_count" = 16777216; boot.kernel.sysctl."vm.max_map_count" = 16777216;

View file

@ -1,11 +0,0 @@
{...}: {
imports = [./sddm.nix];
programs.gamescope.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = true;
};
hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true;
}

View file

@ -2,19 +2,13 @@
services.picom = { services.picom = {
enable = true; enable = true;
backend = "glx"; backend = "glx";
shadow = true;
fade = true;
activeOpacity = 1.0; activeOpacity = 1.0;
inactiveOpacity = 1.0; inactiveOpacity = 1.0;
menuOpacity = 0.8; menuOpacity = 1.0;
settings = { settings = {
blur = { blur = {
method = "dual_kawase"; method = "dual_kawase";
strength = 5; strength = 5;
background = false;
background-frame = false;
background-fixed = false;
kern = "3x3box";
}; };
}; };
}; };

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [./chromium.nix ./wezterm.nix]; imports = [./chromium.nix ./wezterm.nix];
home.packages = with pkgs; [otpclient]; home.packages = with pkgs; [bitwarden otpclient];
} }

49
home/gui/firefox.nix Normal file
View file

@ -0,0 +1,49 @@
{...}: {
programs.firefox = {
enable = true;
profiles.evie = {
settings = {
"browser.startup.homepage" = "https://nixos.org";
"browser.search.region" = "GB";
"browser.search.isUS" = false;
"distribution.searchplugins.defaultLocale" = "en-GB";
"general.useragent.locale" = "en-GB";
"browser.bookmarks.showMobileBookmarks" = true;
"browser.newtabpage.pinned" = [
{
title = "NixOS";
url = "https://nixos.org";
}
];
};
extensions = []; # TODO
bookmarks = [
{
name = "wikipedia";
tags = ["wiki"];
keyword = "wiki";
url = "https://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go";
}
{
name = "kernel.org";
url = "https://www.kernel.org";
}
{
name = "Nix sites";
toolbar = true;
bookmarks = [
{
name = "homepage";
url = "https://nixos.org/";
}
{
name = "wiki";
tags = ["wiki" "nix"];
url = "https://nixos.wiki/";
}
];
}
];
};
};
}