Began aggresively formatting project

This commit is contained in:
2023-12-19 17:16:03 -04:00
parent 38b461ae65
commit 22dc9f16fb
31 changed files with 177 additions and 242 deletions

129
flake.nix
View File

@@ -1,6 +1,6 @@
{
description = "NixOS configuration of Thomas Syms";
nixConfig = { experimental-features = [ "nix-command" "flakes" ]; };
nixConfig = {experimental-features = ["nix-command" "flakes"];};
inputs = {
# System
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -18,73 +18,80 @@
# Theming
stylix.url = "github:danth/stylix";
};
outputs = inputs@{ self, nixpkgs, stylix, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
nixosConfigurations = {
Equinox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; inherit system; };
modules = [
# Theme
stylix.nixosModules.stylix
./themes/targets/all.nix
./themes/sandstone-forest
./hosts/Equinox
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs =
{
inherit inputs;
inherit system;
};
home-manager.users.panotaka = {
imports = [ ./home ./home/shell ./home/desktop ];
};
}
];
outputs = inputs @ {
nixpkgs,
stylix,
home-manager,
...
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
nixosConfigurations = {
Equinox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
inherit system;
};
modules = [
# Theme
stylix.nixosModules.stylix
./themes/targets/all.nix
./themes/sandstone-forest
Blackbird = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; inherit system; };
modules = [
./hosts/Blackbird
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs =
{
inherit inputs;
inherit system;
};
./hosts/Equinox
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs;
inherit system;
};
home-manager.users.panotaka = {
imports = [ ./home ./home/shell ./home/desktop ];
};
}
stylix.nixosModules.stylix
./themes/targets/all.nix
./themes/spaceduck
];
};
home-manager.users.panotaka = {
imports = [./home ./home/shell ./home/desktop];
};
}
];
};
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
Blackbird = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
inherit system;
};
modules = [
./home
./home/shell
./hosts/Blackbird
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs;
inherit system;
};
home-manager.users.panotaka = {
imports = [./home ./home/shell ./home/desktop];
};
}
stylix.nixosModules.stylix
./themes/targets/all.nix
./themes/spaceduck
];
};
};
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home
./home/shell
];
};
};
}