group some options

Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-04-06 19:07:07 +03:00
parent c3bff2bbe4
commit 727636a432

View file

@ -15,10 +15,17 @@ in {
nix.settings.trusted-users = [ "root" "ultra" ]; nix.settings.trusted-users = [ "root" "ultra" ];
# Bootloader. boot = {
boot.loader.systemd-boot.enable = true; loader = {
boot.loader.efi.canTouchEfiVariables = true; systemd-boot.enable = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi"; efi = {
canTouchEfiVariables = true;
efiSysMountPoint = true;
};
};
plymouth.enable = true;
};
networking.hostName = "ultrapc"; # Define your hostname. networking.hostName = "ultrapc"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -124,8 +131,8 @@ in {
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment = {
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. systemPackages = with pkgs; [
wget wget
neovim neovim
neofetch neofetch
@ -144,6 +151,10 @@ in {
git git
starship starship
]; ];
variables = {
NIX_AUTO_RUN = "!";
};
};
programs.fish.enable = true; programs.fish.enable = true;
# programs.nushell.enable = true; # programs.nushell.enable = true;
# users.defaultUserShell = pkgs.zsh; # users.defaultUserShell = pkgs.zsh;