diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/flake.lock b/flake.lock old mode 100644 new mode 100755 diff --git a/flake.nix b/flake.nix old mode 100644 new mode 100755 diff --git a/home.nix b/home.nix old mode 100644 new mode 100755 diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 8766cec..e5c3ecf 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -1,32 +1,21 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). + +{ config, pkgs, ... }: + { - config, - pkgs, - ... -}: { - imports = [ - # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; + imports = + [ # Include the results of the hardware scan. + ./hardware-configuration.nix + ]; # Bootloader. - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; - boot.loader.grub.useOSProber = true; + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.luks.devices."luks-1a4418a8-689c-4826-b589-c574f25c8ba5".device = "/dev/disk/by-uuid/1a4418a8-689c-4826-b589-c574f25c8ba5"; - # Setup keyfile - boot.initrd.secrets = { - "/crypto_keyfile.bin" = null; - }; - - boot.loader.grub.enableCryptodisk = true; - - boot.initrd.luks.devices."luks-955d08e0-c2b1-4cc1-9318-24baa423d4d2".keyFile = "/crypto_keyfile.bin"; - boot.initrd.luks.devices."luks-1a4418a8-689c-4826-b589-c574f25c8ba5".keyFile = "/crypto_keyfile.bin"; - networking.hostName = "hydra"; # Define your hostname. + boot.initrd.luks.devices."luks-1cd83c7a-abab-419f-8e7b-c907f234a00f".device = "/dev/disk/by-uuid/1cd83c7a-abab-419f-8e7b-c907f234a00f"; + networking.hostName = "lena"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix old mode 100644 new mode 100755