+# nix-env-apps: Manage declarative nix-env with a GUI
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, version 3.
+
import os
import subprocess
from typing import Any, Callable
f.write('''final: prev: {
userPackages = final.buildEnv {
name = "userPackages";
- paths = (with final; [
+ paths = with final; [
def on_activate(app: Gtk.Application) -> None:
win = Gtk.ApplicationWindow(application=app)
+ win.set_title('Apps')
box = Gtk.Box()
box.set_orientation(Gtk.Orientation.VERTICAL)
edit = make_button("Edit Configuration", on_edit)