38 current 2025-04-30 02:21:35 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-04-30 02:21:42 -04:00
parent 7fbdca4707
commit 2845d415cf
4 changed files with 21 additions and 4 deletions

View File

@@ -43,7 +43,9 @@
{ {
environment.systemPackages = [agenix.packages.x86_64-linux.default]; environment.systemPackages = [agenix.packages.x86_64-linux.default];
} }
agenix.nixosModules.default agenix.nixosModules.default
# agenix.homeManagerModules.age
./hosts/thonkpad/configuration.nix ./hosts/thonkpad/configuration.nix
]; ];
}; };

View File

@@ -24,6 +24,11 @@ in {
home.stateVersion = "24.11"; # Please read the comment before changing. home.stateVersion = "24.11"; # Please read the comment before changing.
# age.secrets.zsh_remote.file = ../secrets/zsh_remote.age;
# age.secretsDir = "/home/synchronous/.agenix/agenix";
# age.secretsMountPoint = "/home/synchronous/.agenix/agenix.d";
# age.identityPaths = ["/home/synchronous/.ssh/id_ed25519"];
# home.packages = with pkgs; [xrandr procps polybar bspwm sxhkd polybar-pulseaudio-control bluez]; # home.packages = with pkgs; [xrandr procps polybar bspwm sxhkd polybar-pulseaudio-control bluez];
home.sessionVariables = { home.sessionVariables = {

View File

@@ -41,7 +41,7 @@
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
''; '';
# initExtra = builtins.readFile ./zshrc + builtins.readFile osConfig.age.secrets.zsh_remote.path;
initExtra = builtins.readFile ./zshrc; initExtra = builtins.readFile ./zshrc;
# initExtra = builtins.readFile ./zshrc;
}; };
} }

View File

@@ -22,12 +22,19 @@ in {
description = "screen resolution"; description = "screen resolution";
}; };
options.zsh_remote = lib.mkOption {
type = lib.types.str;
default = "1920x1080";
description = "zsh remote secret";
};
config = { config = {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
backupFileExtension = "hm-backup"; backupFileExtension = "hm-backup";
extraSpecialArgs = {inherit (config) res;}; # sharedModules = [agenix.homeManagerModules.default];
extraSpecialArgs = {inherit (config);};
users.synchronous.imports = [ users.synchronous.imports = [
({ ({
config, config,
@@ -41,8 +48,11 @@ in {
}; };
res = "1366x768"; res = "1366x768";
age.secrets.zsh_remote.file = ../../secrets/zsh_remote.age; # age.secrets.zsh_remote.file = ../../secrets/zsh_remote.age;
age.identityPaths = ["/home/synchronous/.ssh/id_ed25519"]; # zsh_remote = builtins.readFile ../../secrets/zsh_remote.age;
# age.secretsDir = "/home/synchronous/.agenix/agenix";
# age.secretsMountPoint = "/home/synchronous/.agenix/agenix.d";
# age.identityPaths = ["/home/synchronous/.ssh/id_ed25519"];
# config = { # config = {
# res = "1366x768"; # res = "1366x768";