Convert nix-dev to flake config.

This commit is contained in:
2023-11-26 07:48:58 +00:00
parent 15c8a3fbb0
commit db1f6baaf7
7 changed files with 66 additions and 1 deletions

22
hosts/nix-dev/default.nix Normal file
View File

@@ -0,0 +1,22 @@
{ pkgs, inputs, ... }:
{
imports = [
../common/global
../common/user-node.nix
./hardware.nix
];
networking.hostName = "nix-dev";
services.tailscaleAutoconnect.authkey = "tskey-auth-k6s6VD5CNTRL-3fmjSfzbQ3PHUMyaiML95P8xzmGv5XxYc";
environment.systemPackages = with pkgs; [
wget
git
nomad
deploy-rs
docker
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
}