Reorganize home modules into logical categories (#100)

This commit is contained in:
Sridhar Ratnakumar 2025-11-21 14:17:20 -05:00 committed by GitHub
parent 995d47db17
commit d64bacdb90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 44 additions and 43 deletions

View file

@ -1,7 +1,7 @@
# This machine uses Omarchy
#
# So we consciously pick what we need
{ flake, pkgs, lib, ... }:
{ flake, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
@ -10,19 +10,19 @@ in
{
imports = [
"${homeMod}/claude-code"
"${homeMod}/all/git.nix"
"${homeMod}/all/just.nix"
"${homeMod}/all/juspay.nix"
"${homeMod}/all/direnv.nix"
"${homeMod}/all/starship.nix"
"${homeMod}/all/bash.nix"
"${homeMod}/all/terminal.nix"
"${homeMod}/all/1password.nix"
"${homeMod}/all/obsidian.nix"
"${homeMod}/cli/git.nix"
"${homeMod}/cli/just.nix"
"${homeMod}/work/juspay.nix"
"${homeMod}/cli/direnv.nix"
"${homeMod}/cli/starship.nix"
"${homeMod}/cli/bash.nix"
"${homeMod}/cli/terminal.nix"
"${homeMod}/gui/1password.nix"
"${homeMod}/gui/obsidian.nix"
# Remote builders
# "${homeMod}/all/buildMachines"
# "${homeMod}/all/buildMachines/sincereintent.nix"
# "${homeMod}/nix/buildMachines"
# "${homeMod}/nix/buildMachines/sincereintent.nix"
];
home.username = "srid";

View file

@ -8,14 +8,15 @@ in
imports = [
flake.inputs.self.homeModules.default
flake.inputs.self.homeModules.darwin-only
"${homeMod}/all/1password.nix"
"${homeMod}/gui/1password.nix"
"${homeMod}/claude-code"
"${homeMod}/all/juspay.nix"
"${homeMod}/all/obsidian.nix"
"${homeMod}/work/juspay.nix"
"${homeMod}/gui/obsidian.nix"
# Remote builders
# "${homeMod}/all/buildMachines"
# "${homeMod}/all/buildMachines/sincereintent.nix"
# "${homeMod}/nix/buildMachines"
# "${homeMod}/nix/buildMachines/sincereintent.nix"
];
home.username = "srid";

View file

@ -1,4 +1,4 @@
{ config, flake, pkgs, lib, ... }:
{ config, flake, lib, ... }:
let
inherit (flake) inputs;
@ -16,13 +16,13 @@ in
users.users.${flake.config.me.username}.linger = true;
home-manager.sharedModules = [
"${homeMod}/all/vira.nix"
"${homeMod}/all/juspay.nix"
# (self + /modules/home/all/dropbox.nix)
"${homeMod}/services/vira.nix"
"${homeMod}/work/juspay.nix"
# (self + /modules/home/services/dropbox.nix)
# Remote builders
"${homeMod}/all/buildMachines"
"${homeMod}/all/buildMachines/sincereintent.nix"
"${homeMod}/nix/buildMachines"
"${homeMod}/nix/buildMachines/sincereintent.nix"
{
services.ttyd = {
enable = true;