mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 17:20:13 +00:00
split nixos from darwin
required because they don't share all attributes
This commit is contained in:
@ -7,6 +7,9 @@ nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { };
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
../../nixos
|
||||
globals
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
@ -42,8 +45,5 @@ nixpkgs.lib.nixosSystem {
|
||||
nixlang.enable = true;
|
||||
dotfiles.enable = true;
|
||||
}
|
||||
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
];
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ darwin.lib.darwinSystem {
|
||||
specialArgs = { };
|
||||
modules = [
|
||||
../../modules
|
||||
../../darwin
|
||||
(globals // {
|
||||
user = "Noah.Masur";
|
||||
gitName = "Noah-Masur_1701";
|
||||
@ -26,7 +27,6 @@ darwin.lib.darwinSystem {
|
||||
nixpkgs.overlays = [ firefox-darwin.overlay ] ++ overlays;
|
||||
# Set registry to flake packages, used for nix X commands
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
|
||||
mail.aerc.enable = true;
|
||||
mail.himalaya.enable = true;
|
||||
kitty.enable = true;
|
||||
|
@ -13,6 +13,7 @@ nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
../../nixos
|
||||
(removeAttrs globals [ "mail.server" ])
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
|
@ -11,6 +11,7 @@ nixpkgs.lib.nixosSystem {
|
||||
wsl.nixosModules.wsl
|
||||
home-manager.nixosModules.home-manager
|
||||
../../modules
|
||||
../../nixos
|
||||
{
|
||||
networking.hostName = "wsl";
|
||||
# Set registry to flake packages, used for nix X commands
|
||||
|
Reference in New Issue
Block a user