Run nixfmt

This commit is contained in:
2024-02-27 22:20:00 +01:00
parent 4d82957b22
commit 5eb076d8d4
17 changed files with 126 additions and 162 deletions

View File

@@ -1,20 +1,11 @@
{ config, lib, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];
imports = [ ./hardware-configuration.nix ];
# Bootloader stuff
boot.loader.systemd-boot = {
enable = true;
};
boot.loader.efi = {
canTouchEfiVariables = true;
};
boot.loader.systemd-boot = { enable = true; };
boot.loader.efi = { canTouchEfiVariables = true; };
# Networking stuff
networking.hostName = "prismo"; # Define your hostname.
@@ -37,17 +28,15 @@
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
XDG_BIN_HOME = "$HOME/.local/bin";
PATH = [
"${XDG_BIN_HOME}"
];
};
PATH = [ "${XDG_BIN_HOME}" ];
};
# Enable sudo
security.sudo.enable = true;
# Enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
# Install system-wide packages
environment.systemPackages = with pkgs; [