1
0
Fork 0
forked from dea/dea-files

nix auto formatter

This commit is contained in:
Dea 2026-01-08 13:39:02 -05:00
parent 664bd99203
commit c2b4c31837
6 changed files with 44 additions and 27 deletions

View file

@ -131,7 +131,8 @@
git git
gdb gdb
glibc.static glibc.static
nixfmt-rfc-style
kitty # terminal kitty # terminal
wayland wayland

View file

@ -7,7 +7,8 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs @ { self, nixpkgs, ... }: outputs =
inputs@{ self, nixpkgs, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
lib = nixpkgs.lib; lib = nixpkgs.lib;
@ -16,12 +17,13 @@
./configuration.nix ./configuration.nix
./user.nix ./user.nix
]; ];
in { in
{
# laptop # laptop
nixosConfigurations.nahemah = lib.nixosSystem { nixosConfigurations.nahemah = lib.nixosSystem {
specialArgs = { specialArgs = {
host = "nahemah"; host = "nahemah";
inherit inputs; inherit inputs;
}; };
modules = [ modules = [
./hosts/nahemah/hardware-configuration.nix ./hosts/nahemah/hardware-configuration.nix

View file

@ -1,4 +1,4 @@
{ config, pkgs, ...}: { config, pkgs, ... }:
{ {
# Enables nix commands + flakes # Enables nix commands + flakes
@ -21,8 +21,7 @@
syncplay syncplay
]; ];
programs.neovim = programs.neovim = { };
{};
home.sessionPath = [ home.sessionPath = [
"$HOME/.local/bin" "$HOME/.local/bin"
@ -43,4 +42,4 @@
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;
} }

View file

@ -4,4 +4,4 @@
programs.mpv = { programs.mpv = {
enable = true; enable = true;
}; };
} }

View file

@ -1,28 +1,43 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: {
config,
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = imports = [
[ (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/65e009d8-9c86-4f18-bcc5-c2d1f8f7bcf4"; device = "/dev/disk/by-uuid/65e009d8-9c86-4f18-bcc5-c2d1f8f7bcf4";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/FDAB-D19E"; device = "/dev/disk/by-uuid/FDAB-D19E";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [
}; "fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ]; swapDevices = [ ];

View file

@ -10,7 +10,7 @@
]; ];
packages = with pkgs; [ packages = with pkgs; [
kdePackages.kate kdePackages.kate
# thunderbird # thunderbird
]; ];
}; };
} }