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

@ -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?
}