mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
dentritic refactor
This commit is contained in:
140 files changed
+2285
-2622
No files matched your search
@@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user