From df610e94124e646801618633934b589b9e173aa7 Mon Sep 17 00:00:00 2001 From: MatthieuGomes Date: Thu, 14 May 2026 16:05:14 -0400 Subject: [PATCH 1/5] note(todo) : added mor todos --- TODO.MD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TODO.MD b/TODO.MD index d4875e4..e7d2afa 100644 --- a/TODO.MD +++ b/TODO.MD @@ -37,4 +37,9 @@ [ x ] Enable plymouth on boot [ x ] Add pedro plymouth theme [ ] Optimize kernelParams - [ ] Fix plymouth theme freezes and is not that smooth on boot. \ No newline at end of file + [ ] Fix plymouth theme freezes and is not that smooth on boot. +[ ] Fixing icons missing in titlebar when as user +[ ] Fixing Gparted unlunchable from luncher +[ ] Adding "Open in VSCode" contexte menu + [ ] In Dolphin + [ ] In desktop \ No newline at end of file From 4c2dc740ea8c4001b29808678ffdce83c9b86826 Mon Sep 17 00:00:00 2001 From: MatthieuGomes Date: Thu, 14 May 2026 16:06:14 -0400 Subject: [PATCH 2/5] note(nvidia+hw) : got rid of todo comments --- sys/hardware.nix | 2 +- sys/hardware/nvidia.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/hardware.nix b/sys/hardware.nix index 6285769..e7e3be3 100644 --- a/sys/hardware.nix +++ b/sys/hardware.nix @@ -23,7 +23,7 @@ enable = lib.mkEnableOption "Enables ${name} related settings."; }; settings = { - nvidia.enable = true; # TODO FIX : module to fix once a stable and working nvidia version is available + nvidia.enable = true; printer.enable = true; sound.enable = true; bluetooth.enable = true; diff --git a/sys/hardware/nvidia.nix b/sys/hardware/nvidia.nix index fe5f1e6..312a09c 100644 --- a/sys/hardware/nvidia.nix +++ b/sys/hardware/nvidia.nix @@ -1,4 +1,3 @@ -# TODO : FIX !!! { config, lib, From 7ff1bb3c70b8faf845adf55023c2ff24900b3e2f Mon Sep 17 00:00:00 2001 From: MatthieuGomes Date: Thu, 14 May 2026 17:17:29 -0400 Subject: [PATCH 3/5] fix(icons) : fixed existing rules + adding rules for other missing icons --- progs/desktop/plasma.nix | 60 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/progs/desktop/plasma.nix b/progs/desktop/plasma.nix index ffdf20a..7b43ece 100644 --- a/progs/desktop/plasma.nix +++ b/progs/desktop/plasma.nix @@ -29,10 +29,66 @@ in (tools.fullModule rec { }; window-rules = [ (tools.ifExists config "config.progs.editors.vscode" { - description = "vscode-desktop-file"; + description = "Fix duplicate VS Code entry in taskbar"; match.window-class = "code code"; - apply.desktopfile = "/run/current-system/etc/profiles/per-user/matthieu/share/applications/code.desktop"; # TODO: make this dynamic + apply.desktopfile = "code"; }) + (tools.ifExists config "config.progs.misc.ledger" + { + description = "Fix icon in titlebar for Ledger Live"; + match.window-class = "ledger-live-desktop Ledger Wallet"; + apply.desktopfile = "ledger-live-desktop"; + }) + # TODO : REPORT BUG to OFFICE = doesnt work on creation, work when forced after beeing lunched + (tools.ifExists config "config.progs.office.libreoffice" + { + description = "Fix icon in titlebar for libreoffice startcenter"; + match.window-class = "soffice.bin libreoffice-startcenter"; + apply.desktopfile = "startcenter"; + }) + (tools.ifExists config "config.progs.office.libreoffice" + { + description = "Fix icon in titlebar for libreoffice writer"; + match.window-class = "soffice.bin libreoffice-writer"; + apply.desktopfile = "writer"; + }) + (tools.ifExists config "config.progs.office.libreoffice" + { + description = "Fix icon in titlebar for libreoffice draw"; + match.window-class = "soffice.bin libreoffice-draw"; + apply.desktopfile = "draw"; + }) + (tools.ifExists config "config.progs.office.libreoffice" + { + description = "Fix icon in titlebar for libreoffice calc"; + match.window-class = "soffice.bin libreoffice-calc"; + apply.desktopfile = "calc"; + }) + (tools.ifExists config "config.progs.office.libreoffice" + { + description = "Fix icon in titlebar for libreoffice base"; + match.window-class = "soffice.bin libreoffice-base"; + apply.desktopfile = "base"; + }) + (tools.ifExists config "config.progs.office.libreoffice" + { + description = "Fix icon in titlebar for libreoffice math"; + match.window-class = "soffice.bin libreoffice-math"; + apply.desktopfile = "math"; + }) + (tools.ifExists config "config.progs.office.libreoffice" + { + description = "Fix icon in titlebar for libreoffice impress"; + match.window-class = "soffice.bin libreoffice-impress"; + apply.desktopfile = "impress"; + }) + # TODO : REPORT BUG to virt-manager = doesnt work on creation, work when forced after beeing lunched + (tools.ifExists config "config.progs.dev.virtualization.virt-manager" + { + description = "Fix icon in titlebar for virt-manager"; + match.window-class = "python3.13 .virt-manager-wrapped"; + apply.desktopfile = "virt-manager"; + }) ]; shortcuts = { "services/com.mitchellh.ghostty.desktop" = { From 316b166e189155f4b1dac33390d394fb246a3679 Mon Sep 17 00:00:00 2001 From: MatthieuGomes Date: Thu, 14 May 2026 17:18:21 -0400 Subject: [PATCH 4/5] note(completions) : detailed todos + checked completed tasks + upgrade version label --- TODO.MD | 3 +++ flake.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TODO.MD b/TODO.MD index e7d2afa..2022407 100644 --- a/TODO.MD +++ b/TODO.MD @@ -39,6 +39,9 @@ [ ] Optimize kernelParams [ ] Fix plymouth theme freezes and is not that smooth on boot. [ ] Fixing icons missing in titlebar when as user + [ ] Fixing icons missing in titlebar for office apps -> report to upstream + [ ] Fixing icons missing in titlebar for virt-manager -> report to upstream + [ x ] Fixing icons missing in titlebar for most apps [ ] Fixing Gparted unlunchable from luncher [ ] Adding "Open in VSCode" contexte menu [ ] In Dolphin diff --git a/flake.nix b/flake.nix index 4ad1d0c..efe4565 100644 --- a/flake.nix +++ b/flake.nix @@ -109,7 +109,7 @@ tuis.enable = true; }; sys = { - label = "V.2.2"; + label = "V.2.2.1"; tags = []; version = nixos-version; main-user = "matthieu"; From 284891986058fa1eb9b5a4d25f90a881a3b8e851 Mon Sep 17 00:00:00 2001 From: MatthieuGomes Date: Fri, 15 May 2026 12:09:25 -0400 Subject: [PATCH 5/5] fix(gparted) : fixed gparted impossible to lunch from launcher !!! VERY HACKY (but works) --- TODO.MD | 4 ++++ flake.nix | 2 +- progs/dev/boot/gparted.nix | 37 ++++++++++++++++++++++++++++++++++++- 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/TODO.MD b/TODO.MD index 2022407..61b99f3 100644 --- a/TODO.MD +++ b/TODO.MD @@ -43,6 +43,10 @@ [ ] Fixing icons missing in titlebar for virt-manager -> report to upstream [ x ] Fixing icons missing in titlebar for most apps [ ] Fixing Gparted unlunchable from luncher + [ x ] Trying to fix by mysef + [ x ] Adding to sudoers file + [ x ] Adding sudo to command of launcher + [ ] report to upstream [ ] Adding "Open in VSCode" contexte menu [ ] In Dolphin [ ] In desktop \ No newline at end of file diff --git a/flake.nix b/flake.nix index efe4565..664a455 100644 --- a/flake.nix +++ b/flake.nix @@ -109,7 +109,7 @@ tuis.enable = true; }; sys = { - label = "V.2.2.1"; + label = "V.2.2.2"; tags = []; version = nixos-version; main-user = "matthieu"; diff --git a/progs/dev/boot/gparted.nix b/progs/dev/boot/gparted.nix index 1209ccf..8b8ccb5 100644 --- a/progs/dev/boot/gparted.nix +++ b/progs/dev/boot/gparted.nix @@ -15,7 +15,6 @@ enable = lib.mkEnableOption "Enables ${name} program and related settings."; }; }; - # TODO : fix the fact that gparted needs root to run and thus cant be opened from rofi or similar launchers in (tools.fullModule rec { inherit (moduleParams) config lib pkgs-list parentPathAsList tools; inherit (moduleParams) name togglable subfolder main-repo branch extras imports specialImports options settings; @@ -24,5 +23,41 @@ in (tools.fullModule rec { home.packages = with packages; [ gparted ]; + # NOTE : doesnt work, needs manual file modification + # xdg.desktopEntries.gparted = { + # name = "GParted**"; + # categories = ["GNOME" "System" "Filesystem"]; + # comment = "Create, reorganize, and delete partitions"; + # exec = "sudo ${packages.gparted}/bin/gparted %f"; + # }; + # NOTE : very Hacky workaround + home.activation = let + store_path = builtins.replaceStrings ["/"] ["\\/"] "${packages.gparted}"; + gparted_path = "${store_path}\\/bin\\/gparted"; + in { + ${name} = lib.mkAfter '' + sed -i 's/Exec=.*/Exec=sudo ${gparted_path} %f/' /home/matthieu/.local/share/applications/gparted.desktop + ''; + }; + }; + System = { + security.sudo = { + enable = true; + execWheelOnly = true; + wheelNeedsPassword = true; + extraRules = [ + { + users = ["%wheel"]; + host = "ALL"; + runAs = "ALL:ALL"; + commands = [ + { + command = "${packages.gparted}/bin/gparted"; + options = ["NOPASSWD"]; + } + ]; + } + ]; + }; }; })