This commit is contained in:
serenity-F 2024-11-19 13:08:14 +00:00
parent c26ee93be2
commit 4b9f4a8cca
6 changed files with 209 additions and 5 deletions

View file

@ -6,7 +6,7 @@
## Selected host modules for import
./network.nix # network configuration
./extra.nix # configuration.nix substitute
#./extra.nix # configuration.nix substitute
#./zfs.nix # zfs configuration
## Selected core modules for import

View file

@ -8,6 +8,7 @@
imports =
[ # Include the results of the hardware scan.
./hardware.nix
../default.nix
];
# Bootloader.
@ -22,8 +23,25 @@
boot.loader.grub.enableCryptodisk = true;
boot.initrd.luks.devices."luks-34a5d7fd-7f3a-4778-8d3a-c7bdec52e96c".keyFile = "/boot/crypto_keyfile.bin";
boot.initrd.luks.devices."luks-f9de3a25-6f75-4e75-b885-160b58634006".keyFile = "/boot/crypto_keyfile.bin";
# Install firefox.
programs.firefox.enable = true;
programs.neovim.enable = true;
programs.git.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nix.settings = {
cores = 0;
experimental-features = [ "flakes" "nix-command" ];
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}

View file

@ -14,11 +14,11 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d67a9243-b1d6-47a7-8ae6-bac5c63e7d0e";
{ device = "/dev/disk/by-uuid/efa84ce5-ecd1-46c6-8207-5434919d9f72";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-34a5d7fd-7f3a-4778-8d3a-c7bdec52e96c".device = "/dev/disk/by-uuid/34a5d7fd-7f3a-4778-8d3a-c7bdec52e96c";
boot.initrd.luks.devices."luks-f9de3a25-6f75-4e75-b885-160b58634006".device = "/dev/disk/by-uuid/f9de3a25-6f75-4e75-b885-160b58634006";
swapDevices = [ ];