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

View File

@ -4,7 +4,9 @@ let
inherit (builtins) attrValues;
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 = {
overlays = with nix-config.overlays; [ phinger-cursors ];