style: format nix files

This commit is contained in:
Felix Schröter 2020-09-23 13:19:19 +02:00
parent 22f6f8b323
commit 4d3bda09b9
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
19 changed files with 132 additions and 175 deletions

View file

@ -1,18 +1,9 @@
{ config, pkgs, ... }:
{
imports = [
./hardened.nix
./i18n.nix
./nix.nix
./vpn.nix
];
imports = [ ./hardened.nix ./i18n.nix ./nix.nix ./vpn.nix ];
environment.systemPackages = with pkgs; [
wget
curl
neovim
];
environment.systemPackages = with pkgs; [ wget curl neovim ];
fonts.fonts = with pkgs; [
fira-code

View file

@ -2,8 +2,7 @@
# utilises some of the measures from
# <nixpkgs/nixos/modules/profiles/hardened.nix>
with lib;
{
with lib; {
boot.loader.systemd-boot.editor = mkDefault false;
nix.allowedUsers = mkDefault [ "@users" ];