62 lines
1.8 KiB
Nix
62 lines
1.8 KiB
Nix
{
|
|
description = "NixOS configuration of Thomas Syms";
|
|
nixConfig = { experimental-features = [ "nix-command" "flakes" ]; };
|
|
inputs = {
|
|
# System
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
disko.url = "github:nix-community/disko";
|
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# Home Manager
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# Theming
|
|
stylix.url = "github:danth/stylix";
|
|
};
|
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
Equinox = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/Equinox
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = inputs;
|
|
|
|
home-manager.users.panotaka = {
|
|
imports = [ ./home ./home/shell ./home/desktop ];
|
|
};
|
|
}
|
|
inputs.stylix.nixosModules.stylix
|
|
./themes/targets/all.nix
|
|
./themes/sandstone-forest
|
|
];
|
|
};
|
|
};
|
|
|
|
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
|
|
modules = [
|
|
./home
|
|
./home/shell
|
|
inputs.stylix.homeManagerModules.stylix
|
|
./themes/sandstone-forest
|
|
./themes/targets/foot.nix
|
|
./themes/targets/kitty.nix
|
|
./themes/targets/kde.nix
|
|
];
|
|
};
|
|
};
|
|
}
|