mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-03 20:49:30 +01:00
nix: Formatting
This commit is contained in:
parent
0f1ea26e84
commit
b856e26b3a
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user