chore: simplify formatting

This commit is contained in:
Donovan Glover 2024-10-11 13:47:59 -04:00
parent eac686339b
commit 6a31427b44
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 7 additions and 14 deletions

View File

@ -9,6 +9,7 @@
stylix = { stylix = {
url = "github:donovanglover/stylix"; url = "github:donovanglover/stylix";
inputs = { inputs = {
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager"; home-manager.follows = "home-manager";
@ -27,11 +28,7 @@
}; };
outputs = outputs =
{ { self, nixpkgs, ... }:
self,
nixpkgs,
...
}:
let let
inherit (nixpkgs.lib) nixosSystem; inherit (nixpkgs.lib) nixosSystem;
inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive; inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive;
@ -91,10 +88,7 @@
nixosConfigurations = { nixosConfigurations = {
nixos = nixosSystem { nixos = nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs.nix-config = self;
specialArgs = {
nix-config = self;
};
modules = [ modules = [
./hosts/laptop/configuration.nix ./hosts/laptop/configuration.nix
@ -104,10 +98,7 @@
mobile-nixos = nixosSystem { mobile-nixos = nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
specialArgs.nix-config = self;
specialArgs = {
nix-config = self;
};
modules = [ modules = [
./hosts/phone/configuration.nix ./hosts/phone/configuration.nix

View File

@ -4,7 +4,9 @@ let
inherit (builtins) attrValues; inherit (builtins) attrValues;
in in
{ {
imports = attrValues nix-config.nixosModules ++ attrValues nix-config.inputs.mobile-nixos.nixosModules; imports =
attrValues nix-config.nixosModules
++ attrValues nix-config.inputs.mobile-nixos.nixosModules;
nixpkgs = { nixpkgs = {
overlays = with nix-config.overlays; [ phinger-cursors ]; overlays = with nix-config.overlays; [ phinger-cursors ];