From 86d6ab87e5cbd344d53f8e98e385717bfbd3f2d9 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:08:38 -0500 Subject: [PATCH] filled in sublime module for desktop --- modules/home-manager/programs/sublime.nix | 7 +++++-- modules/hosts/john-pc-ubuntu.nix | 5 +++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/programs/sublime.nix b/modules/home-manager/programs/sublime.nix index fd2ea86..d79e36f 100644 --- a/modules/home-manager/programs/sublime.nix +++ b/modules/home-manager/programs/sublime.nix @@ -1,5 +1,8 @@ +{ inputs, pkgs, ... }: { - flake.homeModules.sublime = { - # TODO: Port `graphical.sublime = true` into an explicit Home Manager module. + flake.homeModules.sublime = { pkgs, lib, ... }: { + home.packages = with pkgs; [ + sublime4 + ]; }; } \ No newline at end of file diff --git a/modules/hosts/john-pc-ubuntu.nix b/modules/hosts/john-pc-ubuntu.nix index 977975c..9ad94a9 100644 --- a/modules/hosts/john-pc-ubuntu.nix +++ b/modules/hosts/john-pc-ubuntu.nix @@ -24,6 +24,11 @@ # Include another inline module to set the options created through the jsl-home modules ({ config, ... }: { + + # TODO: make this more restrictive, rather than allowing all unfree packages + nixpkgs.config.allowUnfree = true; + nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ]; + homeManagerFlakeDir = "${config.xdg.configHome}/home-manager/jsl-dendritic"; docker.enable = true; ssh.matchSets = {