mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-03 13:43:16 +01:00
chore: simplify formatting
This commit is contained in:
parent
eac686339b
commit
6a31427b44
17
flake.nix
17
flake.nix
@ -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
|
||||
|
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user