mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
Reorganize home modules into logical categories (#100)
This commit is contained in:
parent
995d47db17
commit
d64bacdb90
39 changed files with 44 additions and 43 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./all/zsh.nix
|
||||
./all/bash.nix
|
||||
./all/nushell
|
||||
# ./all/emacs.nix
|
||||
./cli/zsh.nix
|
||||
./cli/bash.nix
|
||||
./cli/nushell
|
||||
# ./editors/emacs.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
home.stateVersion = "24.05";
|
||||
imports = [
|
||||
./all/tmux.nix
|
||||
# ./all/neovim
|
||||
./all/helix.nix
|
||||
./all/starship.nix
|
||||
./all/terminal.nix
|
||||
./all/nix.nix
|
||||
./all/git.nix
|
||||
./all/direnv.nix
|
||||
# ./all/zellij.nix
|
||||
./all/just.nix
|
||||
./all/ttyd.nix
|
||||
./cli/tmux.nix
|
||||
# ./editors/neovim
|
||||
./editors/helix.nix
|
||||
./cli/starship.nix
|
||||
./cli/terminal.nix
|
||||
./nix/path.nix
|
||||
./cli/git.nix
|
||||
./cli/direnv.nix
|
||||
# ./cli/zellij.nix
|
||||
./cli/just.nix
|
||||
./services/ttyd.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
./all/bash.nix
|
||||
./cli/bash.nix
|
||||
./claude-code
|
||||
# ./all/zsh.nix
|
||||
# ./all/vscode-server.nix
|
||||
# ./cli/zsh.nix
|
||||
# ./editors/vscode-server.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
2
vendor/jumphost-nix
vendored
2
vendor/jumphost-nix
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit dadd76093aa907d49d6515e272dba632bbffd620
|
||||
Subproject commit 77fc2b85b3c7a830f2ae7ab0b6716b10e0b480f1
|
||||
Loading…
Add table
Add a link
Reference in a new issue