From 9ded484993caee3fe55b5462b3b332c49ce7db00 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 16 Feb 2025 17:50:42 -0800 Subject: [PATCH] feat: vscode, firefox changes --- flake.lock | 6 +++--- home/profiles/common/base16.nix | 4 ++-- home/profiles/graphical/firefox.nix | 1 + home/profiles/graphical/vscode.nix | 3 ++- home/profiles/graphical/wezterm.nix | 6 +++--- nixos/environments/kde/xserver.nix | 6 +++++- nixos/profiles/gaming/lutris.nix | 5 +++++ packages/outrun.nix | 19 +++++++++++++++++++ systems/goliath.nix | 20 +++++++++----------- 9 files changed, 49 insertions(+), 21 deletions(-) create mode 100644 packages/outrun.nix diff --git a/flake.lock b/flake.lock index 8b8df982..a059cb4f 100644 --- a/flake.lock +++ b/flake.lock @@ -373,11 +373,11 @@ ] }, "locked": { - "lastModified": 1720893836, - "narHash": "sha256-rIwKRl1wmOoIyKPTAzOEvoyUm/roIo3QfJOcVg9Q8N0=", + "lastModified": 1739756331, + "narHash": "sha256-nGyLe6tRiqs10mi2XwNjX7Wbn4gYhMYOZaYULPKuQgo=", "owner": "kittywitch", "repo": "konawall-py", - "rev": "936050d035788198b9c7d7e44b3acceb3d18e35a", + "rev": "c3ff5ef5e4e0b45b670614b09eb7e6bccae800ac", "type": "github" }, "original": { diff --git a/home/profiles/common/base16.nix b/home/profiles/common/base16.nix index 650d1025..2bcec819 100644 --- a/home/profiles/common/base16.nix +++ b/home/profiles/common/base16.nix @@ -14,11 +14,11 @@ in { shell.enable = true; schemes = { light = { - schemeData = schemeSources.atelier.schemes.atelier-sulphurpool-light; + schemeData = schemeSources.atelier.schemes.atelier-heath-light; ansi.palette.background.alpha = "d000"; }; dark = { - schemeData = schemeSources.atelier.schemes.atelier-cave; + schemeData = schemeSources.outrun.schemes.outrun-dark; ansi.palette.background.alpha = "ee00"; }; }; diff --git a/home/profiles/graphical/firefox.nix b/home/profiles/graphical/firefox.nix index 98952292..f0adce65 100644 --- a/home/profiles/graphical/firefox.nix +++ b/home/profiles/graphical/firefox.nix @@ -30,6 +30,7 @@ stylus temporary-containers multi-account-containers + dearrow ublock-origin violentmonkey ]; diff --git a/home/profiles/graphical/vscode.nix b/home/profiles/graphical/vscode.nix index b4acb635..bcb4e4b7 100644 --- a/home/profiles/graphical/vscode.nix +++ b/home/profiles/graphical/vscode.nix @@ -9,10 +9,11 @@ mkhl.direnv hashicorp.terraform jnoortheen.nix-ide + pkgs.outrun ]; userSettings = { "nix.enableLanguageServer" = true; - "workbench.colorTheme" = "Catppuccin Latte"; + "workbench.colorTheme" = "Outrun Night"; "editor.suggest.preview" = true; "[nix]" = { "editor.defaultFormatter" = "kamadorueda.alejandra"; diff --git a/home/profiles/graphical/wezterm.nix b/home/profiles/graphical/wezterm.nix index 76a04529..e920ff3e 100644 --- a/home/profiles/graphical/wezterm.nix +++ b/home/profiles/graphical/wezterm.nix @@ -4,13 +4,13 @@ ... }: { programs.wezterm = { - enable = false; + enable = true; package = inputs.wezterm.outputs.packages.${pkgs.system}.default; extraConfig = '' local wezterm = require 'wezterm'; return { font = wezterm.font_with_fallback({ - + "Monaspace Krypton", -- , BuiltIn "JetBrains Mono", @@ -24,7 +24,7 @@ }), window_decorations = "TITLE | RESIZE", - enable_wayland = false, + enable_wayland = true, warn_about_missing_glyphs = false, font_size = 10.0, check_for_updates = false, diff --git a/nixos/environments/kde/xserver.nix b/nixos/environments/kde/xserver.nix index 1371873a..819b42aa 100644 --- a/nixos/environments/kde/xserver.nix +++ b/nixos/environments/kde/xserver.nix @@ -6,10 +6,14 @@ qt6Packages.qtstyleplugin-kvantum commonalitysol ]; + environment.plasma6.excludePackages = with pkgs; [konsole]; services = { + displayManager.sddm = { + enable = true; + theme = "CommonalitySol"; + }; xserver = { enable = true; - displayManager.gdm.enable = true; }; desktopManager.plasma6.enable = true; }; diff --git a/nixos/profiles/gaming/lutris.nix b/nixos/profiles/gaming/lutris.nix index dde37cf3..7b53423e 100644 --- a/nixos/profiles/gaming/lutris.nix +++ b/nixos/profiles/gaming/lutris.nix @@ -12,6 +12,8 @@ pkgs.winetricks pkgs.jansson pkgs.samba + pkgs.mangohud + pkgs.vkbasalt ]; extraLibraries = pkgs: [ pkgs.jansson @@ -20,6 +22,9 @@ ]; }) + vkbasalt + mangohud + # support 32-bit only wine diff --git a/packages/outrun.nix b/packages/outrun.nix new file mode 100644 index 00000000..09a0f30d --- /dev/null +++ b/packages/outrun.nix @@ -0,0 +1,19 @@ +{ + lib, + vscode-utils, +}: +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + name = "outrun"; + publisher = "samrapdev"; + version = "0.2.2"; + hash = "sha256-d0LPpUQbz9g9Scv24oS13vQ0X4lA35unRBgRWM+G+5s="; + }; + meta = { + description = "A theme for VS Code inspired by the colors, style, and culture of the synthwave music scene."; + homepage = "https://github.com/samrap/outrun-theme-vscode"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=samrapdev.outrun"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [pandapip1]; + }; +} diff --git a/systems/goliath.nix b/systems/goliath.nix index e9b56bc5..9120a1b9 100644 --- a/systems/goliath.nix +++ b/systems/goliath.nix @@ -31,7 +31,7 @@ _: let in { imports = (with tree.nixos.hardware; [ - ]) + ]) ++ (with tree.nixos.profiles; [ graphical wireless @@ -48,18 +48,16 @@ _: let ]) ++ (with tree.home.environments; [ kde - ]); -hardware.opengl.enable = true; + ]); - services.xserver.videoDrivers = ["nvidia"]; + services.xserver.videoDrivers = ["nvidia"]; - -hardware.nvidia = { - package = config.boot.kernelPackages.nvidiaPackages.latest; - nvidiaSettings = true; - modesetting.enable = true; - open = true; -}; + hardware.nvidia = { + package = config.boot.kernelPackages.nvidiaPackages.latest; + nvidiaSettings = true; + modesetting.enable = true; + open = true; + }; boot = { loader = {