Convert nix-dev to flake config.
This commit is contained in:
22
hosts/nix-dev/default.nix
Normal file
22
hosts/nix-dev/default.nix
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user