Skip to content

Commit

Permalink
modules: move darwin/home-manager/nixos to it
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Dec 21, 2024
1 parent 8058362 commit 7ceb15e
Show file tree
Hide file tree
Showing 134 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion hosts/Sekai-MacBook-Pro/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ ... }:

{
imports = [ ../../nix-darwin ];
imports = [ ../../modules/nix-darwin ];

mainUser.username = "thiago.okada";

Expand Down
2 changes: 1 addition & 1 deletion hosts/hachune-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in
{
imports = [
./hardware-configuration.nix
../../nixos
../../modules/nixos
inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-gpu-amd
];
Expand Down
2 changes: 1 addition & 1 deletion hosts/miku-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in
{
imports = [
./hardware-configuration.nix
../../nixos
../../modules/nixos
inputs.hardware.nixosModules.common-cpu-intel
];

Expand Down
2 changes: 1 addition & 1 deletion hosts/mirai-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../nixos
../../modules/nixos
flake.inputs.disko.nixosModules.disko
];

Expand Down
2 changes: 1 addition & 1 deletion hosts/sankyuu-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in
{
imports = [
./hardware-configuration.nix
../../nixos
../../modules/nixos
inputs.hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
];

Expand Down
2 changes: 1 addition & 1 deletion hosts/zachune-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ in
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../nixos
../../modules/nixos
flake.inputs.disko.nixosModules.disko
] ++ oci-common.imports;

Expand Down
2 changes: 1 addition & 1 deletion hosts/zatsune-nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ in
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../nixos
../../modules/nixos
flake.inputs.disko.nixosModules.disko
] ++ oci-common.imports;

Expand Down
2 changes: 1 addition & 1 deletion lib/flake-helpers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ in
username ? "thiagoko",
homePath ? "/home",
homeDirectory ? "${homePath}/${username}",
configuration ? ../home-manager,
configuration ? ../modules/home-manager,
deviceType ? "desktop",
extraModules ? [ ],
system ? "x86_64-linux",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{
imports = [
../modules
../shared
./cli
./crostini.nix
./darwin
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions nix-darwin/default.nix → modules/nix-darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

{
imports = [
../modules
../shared
./cli.nix
./home.nix
./homebrew.nix
./nix
./system.nix
];

nixpkgs.overlays = [ (import ../overlays { inherit flake; }) ];
nixpkgs.overlays = [ (import ../../overlays { inherit flake; }) ];
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions nixos/default.nix → modules/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
imports = [
../modules
../shared
./desktop
./dev
./games
Expand All @@ -13,5 +13,5 @@
./system
];

nixpkgs.overlays = [ (import ../overlays { inherit flake; }) ];
nixpkgs.overlays = [ (import ../../overlays { inherit flake; }) ];
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7ceb15e

Please sign in to comment.