Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 15, 2025
1 parent ac19268 commit f15095b
Show file tree
Hide file tree
Showing 232 changed files with 249 additions and 248 deletions.
4 changes: 2 additions & 2 deletions configurations/darwin/khanelimac/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
lib,
config,
root,
flake,
...
}:
let
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;

cfg = config.khanelinix.user;
in
Expand Down
5 changes: 2 additions & 3 deletions configurations/home/bruddy@bruddynix/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
lib,
root,
flake,
...
}:
let
inherit (lib.khanelinix) enabled disabled;
inherit (flake.inputs.self.lib.khanelinix) enabled disabled;
in
{
khanelinix = {
Expand Down
7 changes: 4 additions & 3 deletions configurations/home/khaneliman@khanelimac/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
config,
lib,
root,
flake,
...
}:
let
inherit (lib) mkForce;
inherit (lib.khanelinix) enabled disabled;
inherit (flake.inputs.self.lib.khanelinix) enabled disabled;
in
{
khanelinix = {
Expand All @@ -23,8 +24,8 @@ in
extraAccounts =
let
# Not super secret, just doesn't need to be scraped so easily.
outlook = lib.khanelinix.decode "a2hhbmVsaW1hbjEyQG91dGxvb2suY29t";
personal = lib.khanelinix.decode "YXVzdGluLm0uaG9yc3RtYW5AZ21haWwuY29t";
outlook = flake.inputs.self.lib.khanelinix.decode "a2hhbmVsaW1hbjEyQG91dGxvb2suY29t";
personal = flake.inputs.self.lib.khanelinix.decode "YXVzdGluLm0uaG9yc3RtYW5AZ21haWwuY29t";

in
{
Expand Down
7 changes: 4 additions & 3 deletions configurations/home/khaneliman@khanelinix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
lib,
pkgs,
root,
flake,
...
}:
let
inherit (lib) getExe;
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;
in
{
khanelinix = {
Expand All @@ -25,8 +26,8 @@ in
extraAccounts =
let
# Not super secret, just doesn't need to be scraped so easily.
outlook = lib.khanelinix.decode "a2hhbmVsaW1hbjEyQG91dGxvb2suY29t";
personal = lib.khanelinix.decode "YXVzdGluLm0uaG9yc3RtYW5AZ21haWwuY29t";
outlook = flake.inputs.self.lib.khanelinix.decode "a2hhbmVsaW1hbjEyQG91dGxvb2suY29t";
personal = flake.inputs.self.lib.khanelinix.decode "YXVzdGluLm0uaG9yc3RtYW5AZ21haWwuY29t";

in
{
Expand Down
4 changes: 2 additions & 2 deletions configurations/home/khaneliman@nixos/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
config,
lib,
root,
flake,
...
}:
let
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;
in
{
khanelinix = {
Expand Down
5 changes: 3 additions & 2 deletions configurations/home/nixos@CORE-PW00LM92/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
config,
lib,
root,
osConfig,
root,
flake,
...
}:
let
inherit (lib) mkForce;
inherit (lib.khanelinix) enabled disabled;
inherit (flake.inputs.self.lib.khanelinix) enabled disabled;
in
{
khanelinix = {
Expand Down
4 changes: 2 additions & 2 deletions configurations/nixos/CORE-PW00LM92/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, ... }:
{ lib, flake, ... }:
let
inherit (lib) mkForce;
inherit (lib.khanelinix) enabled disabled;
inherit (flake.inputs.self.lib.khanelinix) enabled disabled;
in
{
# imports = [ ./hardware.nix ];
Expand Down
4 changes: 2 additions & 2 deletions configurations/nixos/bruddynix/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
config,
lib,
flake,
...
}:
let
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;
in
{
# imports = [
Expand Down
4 changes: 2 additions & 2 deletions configurations/nixos/khanelilab/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
config,
lib,
root,
flake,
...
}:
let
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;
in
{
# imports = [
Expand Down
7 changes: 3 additions & 4 deletions configurations/nixos/khanelinix/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
config,
lib,
root,
flake,
...
}:
let
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;
in
{
# imports = [
Expand Down Expand Up @@ -175,7 +174,7 @@ in
sops = {
enable = true;
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
defaultSopsFile = root + "/secrets/khanelinix/default.yaml";
# defaultSopsFile = flake.inputs.self + "/secrets/khanelinix/default.yaml";
};
};

Expand Down
4 changes: 2 additions & 2 deletions configurations/nixos/nixos/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, ... }:
{ flake, ... }:
let
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;
in
{
# imports = [ ./hardware.nix ];
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/archetypes/personal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}:
let
inherit (lib.khanelinix) mkBoolOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt enabled;

cfg = config.khanelinix.archetypes.personal;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/archetypes/vm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}:
let
inherit (lib.khanelinix) mkBoolOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt enabled;

cfg = config.khanelinix.archetypes.vm;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/archetypes/workstation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}:
let
inherit (lib.khanelinix) mkBoolOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt enabled;

cfg = config.khanelinix.archetypes.workstation;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/desktop/addons/jankyborders/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let
in
{
options.khanelinix.desktop.addons.jankyborders = {
enable = lib.khanelinix.mkBoolOpt false "Whether to enable jankyborders in the desktop environment.";
enable = flake.inputs.self.lib.khanelinix.mkBoolOpt false "Whether to enable jankyborders in the desktop environment.";
package = lib.mkOption {
type = lib.types.package;
default = pkgs.jankyborders;
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/desktop/addons/skhd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
let
inherit (lib) mkIf getExe;
inherit (lib.khanelinix) mkBoolOpt mkOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt mkOpt;

sketchybar = getExe config.services.sketchybar.package;
yabai = getExe config.services.yabai.package;
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/desktop/bars/sketchybar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
...
}:
let
inherit (lib.khanelinix) mkBoolOpt mkOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt mkOpt;

cfg = config.khanelinix.desktop.bars.sketchybar;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/desktop/wms/yabai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
let
inherit (lib) getExe;
inherit (lib.khanelinix) mkBoolOpt mkOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt mkOpt enabled;

cfg = config.khanelinix.desktop.wms.yabai;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
...
}:
let
inherit (lib.khanelinix) mkOpt;
inherit (flake.inputs.self.lib.khanelinix) mkOpt;
in
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.programs.graphical.apps._1password;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/security/gpg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let
mkIf
getExe'
;
inherit (lib.khanelinix) mkOpt;
inherit (flake.inputs.self.lib.khanelinix) mkOpt;

cfg = config.khanelinix.security.gpg;

Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/security/sops/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}:
let
inherit (lib.khanelinix) mkBoolOpt mkOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt mkOpt;

cfg = config.khanelinix.security.sops;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/services/nix-daemon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) types mkIf;
inherit (lib.khanelinix) mkOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkOpt enabled;

cfg = config.khanelinix.services.nix-daemon;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/services/tailscale/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
let
inherit (lib) types mkIf;
inherit (lib.khanelinix) mkOpt;
inherit (flake.inputs.self.lib.khanelinix) mkOpt;

cfg = config.khanelinix.services.tailscale;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/art/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.suites.art;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/business/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt enabled;

cfg = config.khanelinix.suites.business;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
let
inherit (lib) mkIf mkDefault;
inherit (lib.khanelinix) enabled;
inherit (flake.inputs.self.lib.khanelinix) enabled;

cfg = config.khanelinix.suites.common;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
let
inherit (lib) mkIf mkDefault;
inherit (lib.khanelinix) mkBoolOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt enabled;

cfg = config.khanelinix.suites.desktop;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/development/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.suites.development;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/games/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.suites.games;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/music/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.suites.music;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/networking/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt enabled;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt enabled;

cfg = config.khanelinix.suites.networking;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/photo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.suites.photo;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/social/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.suites.social;
in
Expand Down
2 changes: 1 addition & 1 deletion modules/darwin/suites/video/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
let
inherit (lib) mkIf;
inherit (lib.khanelinix) mkBoolOpt;
inherit (flake.inputs.self.lib.khanelinix) mkBoolOpt;

cfg = config.khanelinix.suites.video;
in
Expand Down
Loading

0 comments on commit f15095b

Please sign in to comment.