Began aggresively formatting project
This commit is contained in:
129
flake.nix
129
flake.nix
@@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user