From 056012a288a5aed38617e756c096f9e7912b016a Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Tue, 18 Feb 2025 21:56:34 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Gaming=20dir=20with=20heroic=20and?= =?UTF-8?q?=20wind,=20moved=20steam=20to=20dir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration.nix | 1 - home-manager/development/zed.nix | 10 ++++++++++ modules/default.nix | 2 +- modules/gaming/default.nix | 12 ++++++++++++ modules/{ => gaming}/steam.nix | 0 5 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 modules/gaming/default.nix rename modules/{ => gaming}/steam.nix (100%) diff --git a/configuration.nix b/configuration.nix index 9574f83..7336a34 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,6 +1,5 @@ { pkgs, - inputs, outputs, ... }: diff --git a/home-manager/development/zed.nix b/home-manager/development/zed.nix index 0d3a825..d74bb74 100644 --- a/home-manager/development/zed.nix +++ b/home-manager/development/zed.nix @@ -20,9 +20,19 @@ fontSize = 14; in { + assistant = { + default_model = { + provider = "ollama"; + model = "deepseek-r1:8b"; + }; + version = "2"; + }; autosave = "on_focus_change"; base_keymap = "JetBrains"; buffer_font_family = font; + features = { + inline_completion_provider = "zed"; + }; icon_theme = "Catppuccin Mocha"; # icon_theme = { TODO replace icon theme above with below # mode = theme.mode; diff --git a/modules/default.nix b/modules/default.nix index 7830ab7..6db9ad7 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -2,6 +2,7 @@ imports = [ ./development.nix ./fonts.nix + ./gaming ./gnome ./hardware ./locale.nix @@ -11,7 +12,6 @@ ./sddm.nix ./security.nix ./shell.nix - ./steam.nix ./qt.nix ]; } diff --git a/modules/gaming/default.nix b/modules/gaming/default.nix new file mode 100644 index 0000000..79f3794 --- /dev/null +++ b/modules/gaming/default.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + imports = [ + ./steam.nix + ]; + + environment.systemPackages = with pkgs; [ + heroic + wine + ]; +} diff --git a/modules/steam.nix b/modules/gaming/steam.nix similarity index 100% rename from modules/steam.nix rename to modules/gaming/steam.nix