chore: format flake.nix

This commit is contained in:
Mohammad Rafiq 2025-03-01 05:13:07 +08:00
parent a040a98fee
commit 8139070d69

View file

@ -7,11 +7,9 @@
home-manager, home-manager,
nvf, nvf,
... ...
} @ inputs: } @ inputs: let
let args = {inherit self inputs;};
args = { inherit self inputs; }; in {
in
{
# System Configurations # System Configurations
nixosConfigurations = { nixosConfigurations = {
nemesis = nixpkgs.lib.nixosSystem { nemesis = nixpkgs.lib.nixosSystem {
@ -20,7 +18,8 @@
./systems/nemesis.nix ./systems/nemesis.nix
# Add the home-manager user # Add the home-manager user
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager
{
# Don't instantiate the home-manager instance of nixpkgs # Don't instantiate the home-manager instance of nixpkgs
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
# Install user packages to /etc/profiles # Install user packages to /etc/profiles
@ -37,10 +36,12 @@
}; };
# Packages # Packages
packages.x86_64-linux.nvf = (inputs.nvf.lib.neovimConfiguration { packages.x86_64-linux.nvf =
(inputs.nvf.lib.neovimConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [ ./packages/nvf.nix ]; modules = [./packages/nvf.nix];
}).neovim; })
.neovim;
}; };
inputs = { inputs = {