Update NixOS configuration and add new themes
This commit is contained in:
74
flake.nix
74
flake.nix
@@ -1,8 +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";
|
||||
@@ -17,51 +15,47 @@
|
||||
# Theming
|
||||
stylix.url = "github:danth/stylix";
|
||||
};
|
||||
outputs =
|
||||
inputs@{ self, nixpkgs, home-manager, ... }:
|
||||
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;
|
||||
|
||||
Equinox = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./home
|
||||
./home/shell
|
||||
./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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user