Run nixfmt

This commit is contained in:
cubernetes 2026-05-24 21:57:36 +02:00
parent 8ecabce74c
commit cb089368e5
3 changed files with 74 additions and 44 deletions

View file

@ -2,19 +2,25 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.luks.devices."luks-1dfcf980-6806-4f69-bd86-ee87c904c04b".device = "/dev/disk/by-uuid/1dfcf980-6806-4f69-bd86-ee87c904c04b";
boot.initrd.luks.devices."luks-1dfcf980-6806-4f69-bd86-ee87c904c04b".device =
"/dev/disk/by-uuid/1dfcf980-6806-4f69-bd86-ee87c904c04b";
networking.hostName = "fw"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -83,8 +89,11 @@
users.users.tsi = {
isNormalUser = true;
description = "tsi";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
extraGroups = [
"networkmanager"
"wheel"
];
packages = with pkgs; [ ];
};
# Install firefox.
@ -95,7 +104,7 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [vim];
environment.systemPackages = with pkgs; [ vim ];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
@ -124,7 +133,10 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.11"; # Did you read the comment?
nix.settings.experimental-features = ["nix-command" "flakes"];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
programs.nix-index-database.comma.enable = true;