feat: add flakes support to configuration.nix

This commit is contained in:
Mohammad Rafiq 2025-02-22 11:06:52 +08:00
parent 8755bbf846
commit fe5b8d1320

View file

@ -61,11 +61,13 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget wget
git git
]; ];
environment.variables.EDITOR = "vim";
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.