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,44 +1,42 @@
{ config, pkgs, inputs, ... }:
{
imports = [ ./hardware-configuration.nix ./service.nix ];
config,
pkgs,
inputs,
...
}: {
imports = [./hardware-configuration.nix ./service.nix];
powerManagement.enable = false;
system.autoUpgrade.enable = true;
networking.networkmanager.enable = true;
boot.kernelParams = [ "intel_pstate=active" ];
boot.kernelParams = ["intel_pstate=active"];
nix = {
gc.automatic = true;
settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"http://nix.dhilton.xyz/"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="
];
experimental-features = ["nix-command" "flakes"];
substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"];
trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="];
};
};
programs = {
nix-ld.enable = true;
nix-ld.libraries = with pkgs; [ glibc glib ];
nix-ld.libraries = with pkgs; [glibc glib];
zsh.enable = true;
};
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;};};
environment.systemPackages = with pkgs; [microcodeIntel];
environment.systemPackages = with pkgs; [ microcodeIntel ];
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.graphics = {
@@ -54,7 +52,7 @@
];
};
services.xserver.videoDrivers = [ "intel" ];
services.xserver.videoDrivers = ["intel"];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
@@ -63,5 +61,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?
}