authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-02 16:13:17-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-02 16:13:17-07:00
log1a7858b68b3ce21b4fd2c887441b1c537fd49bd7
treedb0968e06ab9e272d7eb385b79e7c75f6463ffd8
parentdc5e5831b5ff11c0081ffa89443d20f281f5f039
signature Commit is signed but in an unrecognized format.

we do a little refactoring


3 files changed, 8 insertions(+), 6 deletions(-)

hosts/desktop/configuration.nix-2
......@@ -7,8 +7,6 @@
77 imports = [
88 # Include the results of the hardware scan.
99 ./hardware-configuration.nix
10
11 ../../modules/nixos
1210 ];
1311 programs = {
1412 gamemode.enable = true;
hosts/laptop/configuration.nix-4
......@@ -3,10 +3,6 @@
33 userSettings,
44 ...
55}: {
6 imports = [
7 ../../modules/macos
8 ];
9
106 environment.systemPackages = with pkgs; [
117 neovim
128 pinentry_mac
lib/mkSystem.nix+8
......@@ -20,6 +20,11 @@
2020 then inputs.stylix.darwinModules.stylix
2121 else inputs.stylix.nixosModules.stylix;
2222
23 systemModuleDir =
24 if darwin
25 then "macos"
26 else "nixos";
27
2328 systemSettings = rec {
2429 inherit darwin;
2530 host =
......@@ -70,6 +75,9 @@ in
7075 #shared modules
7176 ../modules/shared
7277
78 #system specific modules
79 ../modules/${systemModuleDir}
80
7381 # Link to config.nix
7482 hostConfig
7583