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 @@...@@ -7,8 +7,6 @@
7 imports = [7 imports = [
8 # Include the results of the hardware scan.8 # Include the results of the hardware scan.
9 ./hardware-configuration.nix9 ./hardware-configuration.nix
10
11 ../../modules/nixos
12 ];10 ];
13 programs = {11 programs = {
14 gamemode.enable = true;12 gamemode.enable = true;
hosts/laptop/configuration.nix-4
...@@ -3,10 +3,6 @@...@@ -3,10 +3,6 @@
3 userSettings,3 userSettings,
4 ...4 ...
5}: {5}: {
6 imports = [
7 ../../modules/macos
8 ];
9
10 environment.systemPackages = with pkgs; [6 environment.systemPackages = with pkgs; [
11 neovim7 neovim
12 pinentry_mac8 pinentry_mac
lib/mkSystem.nix+8
...@@ -20,6 +20,11 @@...@@ -20,6 +20,11 @@
20 then inputs.stylix.darwinModules.stylix20 then inputs.stylix.darwinModules.stylix
21 else inputs.stylix.nixosModules.stylix;21 else inputs.stylix.nixosModules.stylix;
2222
23 systemModuleDir =
24 if darwin
25 then "macos"
26 else "nixos";
27
23 systemSettings = rec {28 systemSettings = rec {
24 inherit darwin;29 inherit darwin;
25 host =30 host =
...@@ -70,6 +75,9 @@ in...@@ -70,6 +75,9 @@ in
70 #shared modules75 #shared modules
71 ../modules/shared76 ../modules/shared
7277
78 #system specific modules
79 ../modules/${systemModuleDir}
80
73 # Link to config.nix81 # Link to config.nix
74 hostConfig82 hostConfig
7583