feat: Split darwin into seperate folders as well
This commit is contained in:
@@ -12,7 +12,7 @@ builtins.listToAttrs (builtins.map (device: {
|
|||||||
system = device.system;
|
system = device.system;
|
||||||
modules = [
|
modules = [
|
||||||
{nixpkgs.overlays = overlays;}
|
{nixpkgs.overlays = overlays;}
|
||||||
./configuration.nix
|
./${device.name}/configuration.nix
|
||||||
home-manager.darwinModules.home-manager
|
home-manager.darwinModules.home-manager
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [./yabai.nix ./skhd.nix];
|
imports = [./services];
|
||||||
|
|
||||||
# environment.systemPackages = with pkgs; [nix neovim];
|
# environment.systemPackages = with pkgs; [nix neovim];
|
||||||
nix = {
|
nix = {
|
||||||
@@ -11,8 +11,14 @@
|
|||||||
experimental-features = "nix-command flakes auto-allocate-uids";
|
experimental-features = "nix-command flakes auto-allocate-uids";
|
||||||
max-jobs = 8;
|
max-jobs = 8;
|
||||||
trusted-users = ["root" "fs0c131y"];
|
trusted-users = ["root" "fs0c131y"];
|
||||||
substituters = ["https://sh.darksailor.dev"];
|
substituters = [
|
||||||
trusted-public-keys = ["mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM="];
|
"https://nix-community.cachix.org"
|
||||||
|
"https://sh.darksailor.dev"
|
||||||
|
];
|
||||||
|
trusted-public-keys = [
|
||||||
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
"mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM="
|
||||||
|
];
|
||||||
};
|
};
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
build-users-group = nixbld
|
build-users-group = nixbld
|
||||||
@@ -53,7 +59,6 @@
|
|||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
services.tailscale.enable = true;
|
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 4;
|
||||||
|
|
||||||
system.keyboard.enableKeyMapping = true;
|
system.keyboard.enableKeyMapping = true;
|
||||||
7
darwin/kuro/services/default.nix
Normal file
7
darwin/kuro/services/default.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./yabai.nix
|
||||||
|
./skhd.nix
|
||||||
|
./tailscale.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
5
darwin/kuro/services/tailscale.nix
Normal file
5
darwin/kuro/services/tailscale.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{...}: {
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user