chore: switch to nixfmt-rfc-style

This commit is contained in:
Youwen Wu 2024-09-02 18:16:22 -07:00
parent 90f6446f5f
commit 523a59f2b3
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
41 changed files with 362 additions and 167 deletions

View file

@ -1,4 +1,5 @@
{inputs, ...}: {
{ inputs, ... }:
{
nix-homebrew = {
enable = true;
enableRosetta = true;

View file

@ -2,7 +2,8 @@
config,
pkgs,
...
}: {
}:
{
services.yabai = {
enable = true;
enableScriptingAddition = true;

View file

@ -2,7 +2,8 @@
inputs,
pkgs,
...
}: {
}:
{
environment.systemPackages = [
inputs.personal-neovim.packages.${pkgs.system}.default
];
@ -13,7 +14,7 @@
enable = true;
extraRules = [
{
users = ["youwen"];
users = [ "youwen" ];
keepEnv = true;
persist = true;
}

View file

@ -1,6 +1,7 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
};
}

View file

@ -1,18 +1,19 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
fonts = {
enableDefaultPackages = true;
fontconfig = {
defaultFonts = {
serif = ["Noto Serif"];
sansSerif = ["Noto Sans"];
serif = [ "Noto Serif" ];
sansSerif = [ "Noto Sans" ];
};
};
packages = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
(nerdfonts.override {fonts = ["CascadiaCode"];})
(google-fonts.override {fonts = ["Lora"];})
(nerdfonts.override { fonts = [ "CascadiaCode" ]; })
(google-fonts.override { fonts = [ "Lora" ]; })
];
};
}

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
ryujinx
];
@ -14,8 +15,8 @@
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs:
with pkgs; [
extraPkgs =
pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
services.greetd = {
enable = true;
settings = {

View file

@ -11,7 +11,8 @@ let
to = 42872;
}
];
in {
in
{
services.openssh.enable = true;
networking.firewall = {
allowedTCPPorts = universalAllowedPorts;
@ -20,5 +21,8 @@ in {
allowedTCPPortRanges = universalAllowedRanges;
};
networking.firewall.enable = true;
networking.nameservers = ["1.1.1.1" "1.0.0.1"];
networking.nameservers = [
"1.1.1.1"
"1.0.0.1"
];
}

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
services.spotifyd = {
enable = true;
# settings = {global = 320;};