test
This commit is contained in:
parent
5edf0f15fc
commit
fc069197b9
4 changed files with 163 additions and 19 deletions
35
configuration.nix
Normal file
35
configuration.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
modulesPath,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
} @ args:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
./disko.nix
|
||||
];
|
||||
boot.loader.grub = {
|
||||
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
|
||||
# devices = [ ];
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
|
||||
environment.systemPackages = map lib.lowPrio [
|
||||
pkgs.curl
|
||||
pkgs.gitMinimal
|
||||
pkgs.amneziawg-tools
|
||||
pkgs.linuxKernel.packages.linux_6_15.amneziawg
|
||||
];
|
||||
|
||||
users.users.root.openssh.authorizedKeys.keys =
|
||||
[
|
||||
# change this to your ssh key
|
||||
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLB8bL44HN8mbyOVD8zJbFfQgDWwpZ/mqa+qttARivMhxRNd+JqWFLv6mDf1nENGHIiEPpQ5CdeO0RYos/P3oTg= Git@secretive.MacBook-(Den).local"
|
||||
] ++ (args.extraPublicKeys or []); # this is used for unit-testing this module and can be removed if not needed
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue