formated whole config with alejandra

This commit is contained in:
Tomas Rivera
2026-03-08 19:02:23 +01:00
parent 0564b1d418
commit 5be7198efe
52 changed files with 3724 additions and 3623 deletions
+34 -29
View File
@@ -11,47 +11,52 @@
inputs.nixpkgs.follows = "nixpkgs";
};
};
# never got nixvim to wokrs. ):
# nixvim = {
# url = "github:nix-community/nixvim/nixos-25.11";
# };
# never got nixvim to wokrs. ):
# nixvim = {
# url = "github:nix-community/nixvim/nixos-25.11";
# };
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, nixos-grub-themes, ... }@inputs:
let
outputs = {
self,
nixpkgs,
nixpkgs-unstable,
home-manager,
nixos-grub-themes,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = false;
};
in
{
in {
nixosConfigurations = {
laptop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs pkgs-unstable;};
modules = [
./hosts/laptop/configuration.nix
specialArgs = {inherit inputs pkgs-unstable;};
modules = [
./hosts/laptop/configuration.nix
];
};
};
# we use home-manager directly inside of configuration.nix
# last time i tried to use flake i broke everything ):
# homeManagerConfigurations = {
# tomasr = home-manager.lib.homeManagerConfiguration {
# pkgs = pkgs;
# system = "x86_64-linux";
# username = "tomasr";
# homeDirectory = "/home/tomasr";
# modules = [
# ./hosts/laptop/home.nix
# #nixvim.homeModules.default
#];
# Import your Home Manager module
# configuration = ./hosts/laptop/home.nix;
# we use home-manager directly inside of configuration.nix
# last time i tried to use flake i broke everything ):
# homeManagerConfigurations = {
# tomasr = home-manager.lib.homeManagerConfiguration {
# pkgs = pkgs;
# system = "x86_64-linux";
# username = "tomasr";
# homeDirectory = "/home/tomasr";
# modules = [
# ./hosts/laptop/home.nix
# #nixvim.homeModules.default
#];
# Import your Home Manager module
# configuration = ./hosts/laptop/home.nix;
# extraSpecialArgs = { inherit inputs; };
# };
# extraSpecialArgs = { inherit inputs; };
# };
#};
#};
};
#};
};
}