Skip to content

Commit

Permalink
creatge ./configurations/{nixos,darwin}
Browse files Browse the repository at this point in the history
so we can automate iterations next
  • Loading branch information
srid committed Sep 28, 2024
1 parent 1da66ae commit 21a1b60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
result
.direnv
*.qcow2
/result
/.direnv
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Configuration for my M1 Macbook Max (using nix-darwin)
{ flake, ... }:

let
Expand Down
1 change: 1 addition & 0 deletions systems/ax41.nix → configurations/nixos/immediacy.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Hetzner dedicated: AX41-NVMe
{ flake, ... }:

let
Expand Down
6 changes: 2 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,15 @@


flake = {
# Configuration for my M1 Macbook Max (using nix-darwin)
darwinConfigurations.appreciate =
self.nixos-flake.lib.mkMacosSystem
{ home-manager = true; }
./systems/darwin.nix;
./configurations/darwin/appreciate.nix;

# Hetzner dedicated
nixosConfigurations.immediacy =
self.nixos-flake.lib.mkLinuxSystem
{ home-manager = true; }
./systems/ax41.nix;
./configurations/nixos/immediacy.nix;
};

perSystem = { self', inputs', pkgs, system, config, ... }: {
Expand Down

0 comments on commit 21a1b60

Please sign in to comment.