mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
refactor: mv modules out of systems/
This commit is contained in:
parent
28eefd8c73
commit
a8bc4a11b1
7 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
{
|
||||
imports = [
|
||||
flake.inputs.self.darwinModules.default
|
||||
./darwin/ci.nix
|
||||
../nix-darwin/ci.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
flake.inputs.self.nixosModules.default # Defined in nixos/default.nix
|
||||
flake.inputs.sops-nix.nixosModules.sops
|
||||
flake.inputs.disko.nixosModules.disko
|
||||
./nixos-container.nix
|
||||
../../nixos/nixos-container.nix
|
||||
../../nixos/server/harden
|
||||
];
|
||||
system.stateVersion = "23.11";
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
defaultGateway = "65.109.35.129"; # `ip route | grep default`
|
||||
nameservers = [ "8.8.8.8" ];
|
||||
};
|
||||
disko.devices = import ../disko/two-raids-on-two-disks.nix {
|
||||
disko.devices = import ../../nixos/disko/two-raids-on-two-disks.nix {
|
||||
inherit lib;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
MAILADDR srid@srid.ca
|
||||
'';
|
||||
};
|
||||
disko.devices = import ./disko/trivial.nix { device = "/dev/sda"; };
|
||||
disko.devices = import ../nixos/disko/trivial.nix { device = "/dev/sda"; };
|
||||
networking = {
|
||||
hostName = "linux-builder";
|
||||
networkmanager.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue