From d04143fd72f245474bca9ead7fcbe0bcba444ec6 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 19 Aug 2025 16:46:49 +0200 Subject: [PATCH] Disable nix-index, put some folder icons in place for plasma --- .../package-configs/plasma-desktop/default.nix | 16 ++++++++++++++++ nixos/desktop/default.nix | 2 +- nixos/hosts/wheatley/configuration.nix | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/home-manager/desktop/package-configs/plasma-desktop/default.nix b/home-manager/desktop/package-configs/plasma-desktop/default.nix index ee3c721..721e0ba 100644 --- a/home-manager/desktop/package-configs/plasma-desktop/default.nix +++ b/home-manager/desktop/package-configs/plasma-desktop/default.nix @@ -28,6 +28,22 @@ target = ".config/kdeconnect/config"; force = true; }; + home.file."Games/.directory" = { + text = '' + [Desktop Entry] + Icon=folder-games + ''; + target = "Games/.directory"; + force = true; + }; + home.file."Code/.directory" = { + text = '' + [Desktop Entry] + Icon=folder-script + ''; + target = "Code/.directory"; + force = true; + }; programs.plasma = { enable = true; diff --git a/nixos/desktop/default.nix b/nixos/desktop/default.nix index fbb0ea7..d04e588 100644 --- a/nixos/desktop/default.nix +++ b/nixos/desktop/default.nix @@ -107,7 +107,7 @@ programs = { # Allow executing of anything on the system with a , eg: , python executes python from the nix store even if not in $PATH currently command-not-found.enable = lib.mkForce false; - nix-index.enable = true; + # nix-index.enable = true; nix-index-database.comma.enable = true; direnv = { diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index b39a571..8b53eaf 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -29,7 +29,7 @@ programs = { # Allow executing of anything on the system with a , eg: , python executes python from the nix store even if not in $PATH currently command-not-found.enable = lib.mkForce false; - nix-index.enable = true; + # nix-index.enable = true; nix-index-database.comma.enable = true; }; services = {