nix: move all darwin configuration to darwinModules

This commit is contained in:
Primrose 2024-10-30 19:35:49 +01:00
parent 7b8c2bcfcc
commit ceff366d15
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 18 additions and 5 deletions

View file

@ -6,8 +6,6 @@
mkDarwin,
mkHomeManager,
mkNixOS,
maybePathOrDefault,
...
}:
@ -101,7 +99,7 @@ let
self.darwinModules.commonModules
self.nixosModules.sharedModules
self.nixosModules.fish-vendor-completions
(maybePathOrDefault ./host/${hostname} { })
(self.darwinModules.${"named-" + hostname} or { })
inputs.home-manager.darwinModules.home-manager
{

View file

@ -1,10 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = [
pkgs.vim
pkgs.gnumake
pkgs.gnused
pkgs.cachix
];
}