mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Split Nix config in modules
This commit is contained in:
parent
380361eeeb
commit
dd5b87f66e
7 changed files with 80 additions and 77 deletions
10
hardware/hcloud.nix
Normal file
10
hardware/hcloud.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ modulesPath, config, pkgs, ... }:
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
|
||||
|
||||
boot.cleanTmpDir = true;
|
||||
networking.firewall.allowPing = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue