tootpc and toothpick nvidia changes and switching to zen
This commit is contained in:
@@ -120,8 +120,8 @@ in {
|
||||
(mkIf (host == "toothpc") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
"$terminal" = "foot";
|
||||
"$browser" = "firefox";
|
||||
"$browserinc" = "firefox --private-window";
|
||||
"$browser" = "zen";
|
||||
"$browserinc" = "zen --private-window";
|
||||
"$mod" = "ALT_L";
|
||||
bind = [
|
||||
# Add more host-specific binds as needed
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption elem;
|
||||
browser =
|
||||
if elem osConfig.networking.hostName ["cnix" "cnixpad"]
|
||||
if elem osConfig.networking.hostName ["cnix" "cnixpad" "toothpc"]
|
||||
then "zen.desktop"
|
||||
else "firefox.desktop";
|
||||
cfg = config.home.services.xdg;
|
||||
|
||||
@@ -20,6 +20,7 @@ in {
|
||||
options = {
|
||||
nixos.hardware.graphics.nvidia = {
|
||||
enable = mkEnableOption "Enables NVidia graphics";
|
||||
open.enable = mkEnableOption "Enables open version of drivers";
|
||||
package = mkOption {
|
||||
type = types.enum ["stable" "beta" "production" "latest"];
|
||||
default = "stable";
|
||||
@@ -64,7 +65,7 @@ in {
|
||||
enable = false;
|
||||
finegrained = false;
|
||||
};
|
||||
open = true;
|
||||
open = cfg.open.enable;
|
||||
nvidiaSettings = true;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user