From 5d0a48fab6d394e72ab7085c43c47589a67150ed Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Thu, 22 Jan 2026 15:43:18 -0700 Subject: [PATCH] 1769121798 --- modules/home-manager.nix | 7 +++++- modules/home/ghostty.nix | 15 +++++++++++ modules/home/packages.nix | 11 --------- modules/home/zed.nix | 52 +++++++++++++++++++++++++++++++++++++++ modules/services.nix | 2 +- 5 files changed, 74 insertions(+), 13 deletions(-) create mode 100644 modules/home/ghostty.nix create mode 100644 modules/home/zed.nix diff --git a/modules/home-manager.nix b/modules/home-manager.nix index e6f8b03..f2ff3ef 100644 --- a/modules/home-manager.nix +++ b/modules/home-manager.nix @@ -9,9 +9,11 @@ let homeModules = [ ./home/session.nix ./home/packages.nix - ./home/librewolf.nix ./home/git.nix ./home/gnome.nix + ./home/librewolf.nix + ./home/zed.nix + ./home/ghostty.nix ]; in { @@ -21,6 +23,9 @@ in home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; + + home-manager.backupFileExtension = "backup"; + home-manager.extraSpecialArgs = { inherit settings nur; }; diff --git a/modules/home/ghostty.nix b/modules/home/ghostty.nix new file mode 100644 index 0000000..d23ef33 --- /dev/null +++ b/modules/home/ghostty.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + programs.ghostty = { + enable = true; + package = pkgs.ghostty; + + enableBashIntegration = true; + + settings = { + theme = "Catppuccin Macchiato"; + background-opacity = "0.95"; + }; + }; +} diff --git a/modules/home/packages.nix b/modules/home/packages.nix index 5eed96f..9dec113 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -7,23 +7,15 @@ signal-desktop # Development tools - go - cargo gnumake - rustc - rust-analyzer - rustfmt - nodejs_24 openssh nodePackages."pnpm" openssl killall ffmpeg - zed-editor vscodium usbutils qmk - ghostty neofetch deepfilternet pavucontrol @@ -42,9 +34,6 @@ onlyoffice-desktopeditors # GNOME Extensions - gnomeExtensions.blur-my-shell - gnomeExtensions.just-perfection - gnomeExtensions.arc-menu gnomeExtensions.appindicator ]; } diff --git a/modules/home/zed.nix b/modules/home/zed.nix new file mode 100644 index 0000000..67545a5 --- /dev/null +++ b/modules/home/zed.nix @@ -0,0 +1,52 @@ +{ pkgs, ... }: + +{ + programs.zed-editor = { + enable = true; + + extensions = [ + "nix" + "catppuccin" + "catppuccin-icons" + "toml" + "elixir" + "make" + "astro" + "vue" + "latex" + ]; + + userSettings = { + icon_theme = "Catppuccin Macchiato"; + title_bar = { + show_sign_in = false; + }; + collaboration_panel = { + button = false; + }; + window_decorations = "client"; + status_bar = { + cursor_position_button = false; + }; + disable_ai = true; + telemetry = { + diagnostics = false; + metrics = false; + }; + ui_font_size = 16; + buffer_font_size = 15; + theme = { + mode = "system"; + light = "One Light"; + dark = "Catppuccin Macchiato"; + }; + + languages = { + "Nix" = { + language_servers = [ "nil" "nixd" ]; + format_on_save = "on"; + }; + }; + }; + }; +} diff --git a/modules/services.nix b/modules/services.nix index ac041eb..b6560ef 100644 --- a/modules/services.nix +++ b/modules/services.nix @@ -46,7 +46,7 @@ in apps = [ { name = "Steam Big Picture"; - cmd = "${pkgs.steam}/bin/steam -bigpicture"; + cmd = "${pkgs.steam}/bin/steam -gamepadui"; } { name = "Desktop";