Skip to content

Commit

Permalink
import nixos-hardware, use commond ssd config for icarus
Browse files Browse the repository at this point in the history
  • Loading branch information
data-djinn committed Sep 18, 2024
1 parent 4741e60 commit b8675d5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
33 changes: 17 additions & 16 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
inputs = {
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hardware.url = "github:nixos/nixos-hardware";
nixos-hardware.url = "github:nixos/nixos-hardware/master";

# Home manager
home-manager.url = "github:nix-community/home-manager/master";
Expand All @@ -15,7 +15,7 @@
self,
nixpkgs,
home-manager,
hardware,
nixos-hardware,
...
} @ inputs: let
inherit (self) outputs;
Expand Down Expand Up @@ -43,6 +43,7 @@
icarus = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;}; # Pass flake inputs to our config
modules = [
nixos-hardware.nixosModules.common-pc-laptop-ssd
./machines/icarus
];
};
Expand All @@ -55,7 +56,7 @@
kraken = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
modules = [
hardware.nixosModules.common-cpu-intel-cpu-only
nixos-hardware.nixosModules.common-cpu-intel-cpu-only
./machines/kraken
];
};
Expand Down

0 comments on commit b8675d5

Please sign in to comment.