dentritic refactor

This commit is contained in:
elwrcl committed 2026-07-30 22:58:52 +03:00
1 parent fc386c4053
commit 301ad158d5
140 files changed
+2285 -2622

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
{ config, inputs, ... }:
let
system = "x86_64-darwin";
in
{
flake.darwinConfigurations.sohryu-darwin = inputs.nix-darwin.lib.darwinSystem {
specialArgs = {
inherit inputs system;
};
modules = [
{ nixpkgs.hostPlatform = system; }
inputs.home-manager.darwinModules.home-manager
{
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowDeprecatedx86_64Darwin = true;
nixpkgs.overlays = [ inputs.nix-vscode-extensions.overlays.default ];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit inputs system;
};
users.sohryu = {
imports = [
config.flake.homeModules.home-base
config.flake.homeModules.home-ghostty
config.flake.homeModules.home-nushell
];
home.username = "sohryu";
home.homeDirectory = "/Users/sohryu";
home.stateVersion = "25.05";
};
};
}
config.flake.darwinModules.hostname-assert
{ elars.expectedHostName = "sohryu-darwin"; }
# pool
config.flake.darwinModules.common-git
config.flake.darwinModules.common-homebrew
config.flake.darwinModules.common-system
config.flake.darwinModules.common-user
config.flake.darwinModules.common-packages
# import
{
networking.hostName = "sohryu-darwin";
networking.computerName = "sohryu-darwin";
system.stateVersion = 5;
}
];
};
}