formatting pass

This commit is contained in:
Zynh Ludwig 2024-02-26 00:23:21 -08:00
parent 64db2cecf5
commit 97a8146467
2 changed files with 21 additions and 15 deletions

View file

@ -6,7 +6,8 @@
{ {
imports = imports =
[ # Include the results of the hardware scan. [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -93,19 +94,21 @@
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ packages = with pkgs; [
rustup rustup
neovim neovim
fish fish
zig zig
go go
nil nil
wezterm wezterm
firefox firefox
lazygit lazygit
ripgrep ripgrep
nodejs_21 nodejs_21
dotnet-sdk_8 dotnet-sdk_8
unzip unzip
nixpkgs-fmt nixpkgs-fmt
lua-language-server
stylua
]; ];
}; };
@ -127,20 +130,20 @@
''; '';
}; };
programs.fish = { programs.fish = {
enable = true; enable = true;
interactiveShellInit = '' interactiveShellInit = ''
set fish_greeting set fish_greeting
''; '';
}; };
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
neovim neovim
curl curl
git git
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are

View file

@ -5,7 +5,8 @@
{ {
imports = imports =
[ (modulesPath + "/profiles/qemu-guest.nix") [
(modulesPath + "/profiles/qemu-guest.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" "usb_storage" "sr_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" "usb_storage" "sr_mod" ];
@ -14,12 +15,14 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/fa4ed906-f26b-40ec-859c-81813151c33a"; {
device = "/dev/disk/by-uuid/fa4ed906-f26b-40ec-859c-81813151c33a";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/31B8-8850"; {
device = "/dev/disk/by-uuid/31B8-8850";
fsType = "vfat"; fsType = "vfat";
}; };