1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/config/hosts/base/configuration.nix

26 lines
582 B
Nix
Raw Normal View History

2024-02-26 20:20:03 +01:00
{ modulesPath, config, lib, pkgs, ... }: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
2024-02-27 16:47:43 +01:00
./config/common/users
2024-02-26 20:20:03 +01:00
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
services.openssh.enable = true;
2024-02-27 16:47:43 +01:00
environment.systemPackages = [
2024-02-26 20:20:03 +01:00
pkgs.curl
pkgs.gitMinimal
];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
];
system.stateVersion = "23.11";
}