mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
formated whole config with alejandra
This commit is contained in:
@@ -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; };
|
||||
# };
|
||||
#};
|
||||
#};
|
||||
};
|
||||
#};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user