changed formater

This commit is contained in:
k
2024-12-23 22:08:45 -05:00
parent 52fbee6322
commit 3995c29b03
18 changed files with 278 additions and 244 deletions

View File

@@ -1,14 +1,18 @@
# Edit this configuration file to define what should be installed on
# 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, nixos-hardware, ... }:
{
imports = [ # Include the results of the hardware scan.
config,
pkgs,
inputs,
nixos-hardware,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = ["nix-command" "flakes"];
nixpkgs.config.allowUnfree = true;
networking.networkmanager.enable = true;
@@ -69,11 +73,11 @@
users.users.k = {
isNormalUser = true;
description = "k";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ zsh ];
extraGroups = ["networkmanager" "wheel"];
packages = with pkgs; [zsh];
shell = pkgs.zsh;
};
home-manager = { users = { "k" = import ./home.nix; }; };
home-manager = {users = {"k" = import ./home.nix;};};
system.autoUpgrade.enable = true;
nix.gc.automatic = true;
@@ -89,7 +93,7 @@
neovim
];
boot.kernelModules = [ "soc_button_array" ];
boot.kernelModules = ["soc_button_array"];
networking.firewall.enable = true;
@@ -100,5 +104,4 @@
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment?
}