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 = [ imports = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
../modules/git ../modules/git

View File

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

View File

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

View File

@ -20,7 +20,7 @@ let VARIABLES = import ../src/variables.nix; in {
}; };
}; };
config = { pkgs, lib, ... }: { config = { pkgs, ... }: {
programs = { programs = {
fish.enable = true; fish.enable = true;
neovim.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 { let VARIABLES = import ./src/variables.nix; in {
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".nixpkgs-fmt; formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".nixpkgs-fmt;

View File

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

View File

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