updated laptop and packages

This commit is contained in:
Thilo Billerbeck 2023-09-19 20:53:08 +02:00
parent f58b262c54
commit 459adb46f0
2 changed files with 36 additions and 20 deletions

View file

@ -1,30 +1,41 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let {
chromeArgs = lib.strings.concatStringsSep " " [
"--force-dark-mode"
"--enable-features=WebUIDarkMode"
"--enable-smooth-scrolling"
"--ozone-platform-hint=auto"
"--ignore-gpu-blocklist"
"--enable-gpu-rasterization"
"--enable-zero-copy"
"--force-device-scale-factor=1.0"
];
nixGLWrap = import ./../utils/nixGLWrap.nix { inherit pkgs lib; };
in {
imports = [ imports = [
./common.nix ./../modules/machine.nix
]; ];
targets.genericLinux.enable = true; machine = {
news.display = "silent"; username = "thilo";
isGeneric = false;
nixPackage = pkgs.nixUnstable;
isGnome = false;
noiseSuppression.enable = true;
isGraphical = true;
};
gtk = { wayland.windowManager.sway = {
enable = true; enable = true;
theme = { config = rec {
name = "adw-gtk3-dark"; modifier = "Mod4";
package = pkgs.adw-gtk3; # Use kitty as default terminal
terminal = "alacritty";
bars = [];
}; };
}; };
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-vaapi
obs-teleport
droidcam-obs
obs-gstreamer
obs-shaderfilter
obs-command-source
obs-move-transition
advanced-scene-switcher
];
};
} }

View file

@ -68,6 +68,10 @@ in {
ddev ddev
act act
mkcert mkcert
pulumi
dagger
kubectl
pulumiPackages.pulumi-language-nodejs
] ++ (if config.machine.isGraphical then [ ] ++ (if config.machine.isGraphical then [
(pkgs.nerdfonts.override { (pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ]; fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
@ -97,6 +101,7 @@ in {
chromium chromium
quickemu quickemu
quickgui quickgui
trilium-desktop
] else [ ]) ++ (if config.machine.isGnome then [ ] else [ ]) ++ (if config.machine.isGnome then [
gnomeExtensions.blur-my-shell gnomeExtensions.blur-my-shell
gnomeExtensions.dash-to-panel gnomeExtensions.dash-to-panel