style: reformat with nixpkgs-fmt

This commit is contained in:
Oliver Davies 2023-05-03 22:19:59 +01:00
parent 1be69caabb
commit 4b459f08d4
15 changed files with 398 additions and 130 deletions

View file

@ -5,13 +5,14 @@
{ config, pkgs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
home-manager = builtins.fetchTarball
"https://github.com/nix-community/home-manager/archive/master.tar.gz";
in
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@ -97,10 +98,8 @@ in
];
};
environment.gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
]) ++ (with pkgs.gnome; [
environment.gnome.excludePackages = (with pkgs; [ gnome-photos gnome-tour ])
++ (with pkgs.gnome; [
atomix
cheese
evince
@ -120,10 +119,11 @@ in
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
];
environment.systemPackages = with pkgs;
[
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
@ -159,9 +159,8 @@ in
users.defaultUserShell = "/etc/profiles/per-user/opdavies/bin/zsh";
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; })
];
fonts.fonts = with pkgs;
[ (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; }) ];
services.cron = {
enable = true;