moved to new pc
This commit is contained in:
parent
0491af6282
commit
1cbc246946
6 changed files with 11 additions and 22 deletions
0
README.md
Normal file → Executable file
0
README.md
Normal file → Executable file
0
flake.lock
Normal file → Executable file
0
flake.lock
Normal file → Executable file
0
flake.nix
Normal file → Executable file
0
flake.nix
Normal file → Executable file
0
home.nix
Normal file → Executable file
0
home.nix
Normal file → Executable file
|
@ -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.
|
||||
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
|
||||
|
|
0
nixos/hardware-configuration.nix
Normal file → Executable file
0
nixos/hardware-configuration.nix
Normal file → Executable file
Loading…
Reference in a new issue