nix: Formatting

This commit is contained in:
Donovan Glover 2023-06-13 09:06:39 -04:00
parent 0f1ea26e84
commit b856e26b3a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
7 changed files with 12 additions and 10 deletions

View File

@ -17,7 +17,7 @@ in
};
};
config = { pkgs, lib, ... }: {
config = { pkgs, ... }: {
imports = [
home-manager.nixosModules.home-manager
../modules/git

View File

@ -26,7 +26,7 @@ in
};
};
config = { pkgs, lib, ... }: {
config = { pkgs, ... }: {
imports = [
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix

View File

@ -38,7 +38,7 @@ in
}
];
config = { pkgs, lib, ... }: {
config = { pkgs, ... }: {
imports = [
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix

View File

@ -20,7 +20,7 @@ let VARIABLES = import ../src/variables.nix; in {
};
};
config = { pkgs, lib, ... }: {
config = { pkgs, ... }: {
programs = {
fish.enable = true;
neovim.enable = true;

View File

@ -1,5 +1,5 @@
{
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, crystal-flake, ... } @ attrs:
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, ... } @ attrs:
let VARIABLES = import ./src/variables.nix; in {
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".nixpkgs-fmt;

View File

@ -151,14 +151,14 @@ in
{
plugin = indent-blankline-nvim;
type = "lua";
config = ''
config = /* lua */ ''
require("indent_blankline").setup()
'';
}
{
plugin = gitsigns-nvim;
type = "lua";
config = ''
config = /* lua */ ''
require('gitsigns').setup()
'';
}
@ -169,7 +169,7 @@ in
{
plugin = nvim-scrollbar;
type = "lua";
config = ''require("scrollbar").setup()'';
config = /* lua */ ''require("scrollbar").setup()'';
}
{
plugin = nvim-lspconfig;
@ -251,7 +251,7 @@ in
{
plugin = toggleterm-nvim;
type = "lua";
config = ''
config = /* lua */ ''
require("toggleterm").setup {
shade_terminals = false
}

View File

@ -17,6 +17,8 @@ let VARIABLES = import ./variables.nix; in {
../containers/wine.nix
../containers/dev.nix
../containers/gui.nix
../containers/srb2.nix
../containers/osu.nix
];
# locale
@ -259,7 +261,7 @@ let VARIABLES = import ./variables.nix; in {
virtualisation.vmware.host = {
enable = true;
extraConfig = ''
extraConfig = /* config */ ''
# Enable 3D acceleration on the host
mks.gl.allowUnsupportedDrivers = "TRUE"
mks.vk.allowUnsupportedDevices = "TRUE"