560 current 1970-01-01 01:00:00 24.11.20250215.a60651b 6.6.76 *
This commit is contained in:
10
flake.nix
10
flake.nix
@ -45,7 +45,7 @@
|
||||
};
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
"MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
|
||||
"MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs pkgs system;
|
||||
@ -68,10 +68,10 @@
|
||||
(nixpkgs
|
||||
+ "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||
(nixpkgs + "/nixos/modules/installer/cd-dvd/channel.nix")
|
||||
({ pkgs, ... }: {
|
||||
({pkgs, ...}: {
|
||||
# Enable SSH in the boot process.
|
||||
systemd.services.sshd.wantedBy =
|
||||
pkgs.lib.mkForce [ "multi-user.target" ];
|
||||
pkgs.lib.mkForce ["multi-user.target"];
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
# your ssh key
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOLRNvgrjnBizuruEm6htmvc6F1uGath9T7WjAh6ogPD root@host"
|
||||
@ -79,8 +79,8 @@
|
||||
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
||||
networking = {
|
||||
usePredictableInterfaceNames = false;
|
||||
useDHCP = true;
|
||||
nameservers = [ "1.1.1.1" ];
|
||||
useDHCP = true;
|
||||
nameservers = ["1.1.1.1"];
|
||||
hostName = "host";
|
||||
};
|
||||
})
|
||||
|
Reference in New Issue
Block a user