2024-03-09 17:18:36 +01:00
|
|
|
{
|
|
|
|
description = "Nixos configuration for Xeovalyte";
|
|
|
|
|
|
|
|
inputs = {
|
2024-11-30 18:29:31 +01:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-24.11";
|
2024-03-09 17:18:36 +01:00
|
|
|
|
|
|
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
home-manager = {
|
2024-11-30 18:29:31 +01:00
|
|
|
url = "github:nix-community/home-manager/release-24.11";
|
2024-03-09 17:18:36 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2024-12-10 18:38:17 +01:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
|
|
|
2024-03-09 17:18:36 +01:00
|
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
2024-12-10 18:38:17 +01:00
|
|
|
|
2024-12-25 23:55:11 +01:00
|
|
|
stylix.url = "github:danth/stylix";
|
|
|
|
|
2024-12-10 18:38:17 +01:00
|
|
|
nixpkgs.follows = "nixos-cosmic/nixpkgs-stable";
|
|
|
|
|
|
|
|
nixos-cosmic = {
|
|
|
|
url = "github:lilyinstarlight/nixos-cosmic";
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
|
2024-12-25 23:55:11 +01:00
|
|
|
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, nix-colors, stylix, nixos-cosmic, ... }:
|
2024-03-09 17:18:36 +01:00
|
|
|
let
|
2024-05-21 10:58:33 +02:00
|
|
|
system = "x86_64-linux";
|
2024-03-09 17:18:36 +01:00
|
|
|
overlay-unstable = final: prev: {
|
2024-05-21 10:58:33 +02:00
|
|
|
unstable = import nixpkgs-unstable {
|
|
|
|
config.allowUnfree = true;
|
|
|
|
localSystem = { inherit system; };
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
2024-09-05 19:20:03 +02:00
|
|
|
# Laptop Configuration
|
2024-03-09 17:18:36 +01:00
|
|
|
nixosConfigurations = {
|
2024-03-12 21:24:29 +01:00
|
|
|
xv-laptop = nixpkgs.lib.nixosSystem {
|
2024-03-09 17:18:36 +01:00
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
|
|
|
2024-12-10 18:38:17 +01:00
|
|
|
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
|
|
|
|
|
2024-03-09 17:18:36 +01:00
|
|
|
./hosts/laptop
|
2024-09-05 19:20:03 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
homeConfigurations = {
|
|
|
|
"xeovalyte@xv-laptop" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
extraSpecialArgs = { inherit inputs nix-colors; };
|
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
2024-12-25 23:55:11 +01:00
|
|
|
|
2024-09-05 19:20:03 +02:00
|
|
|
./hosts/laptop/home.nix
|
2024-03-09 17:18:36 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-06-25 13:11:30 +02:00
|
|
|
|
2024-12-25 09:46:01 +01:00
|
|
|
# Surface Configuration
|
|
|
|
nixosConfigurations = {
|
|
|
|
xv-surface = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
|
|
|
2024-12-25 10:57:48 +01:00
|
|
|
inputs.nixos-hardware.nixosModules.microsoft-surface-go
|
|
|
|
nixos-cosmic.nixosModules.default
|
|
|
|
|
2024-12-25 09:46:01 +01:00
|
|
|
./hosts/surface
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
homeConfigurations = {
|
|
|
|
"xeovalyte@xv-surface" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
extraSpecialArgs = { inherit inputs nix-colors; };
|
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
|
|
|
|
|
|
./hosts/surface/home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-03-12 21:24:29 +01:00
|
|
|
nixosConfigurations = {
|
|
|
|
xv-desktop = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
|
|
|
|
|
|
./hosts/desktop
|
2024-11-30 18:30:01 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
homeConfigurations = {
|
|
|
|
"xeovalyte@xv-desktop" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
extraSpecialArgs = { inherit inputs nix-colors; };
|
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
|
|
|
|
|
|
./hosts/desktop/home.nix
|
2024-03-12 21:24:29 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-06-25 13:11:30 +02:00
|
|
|
|
2024-10-11 17:17:34 +02:00
|
|
|
# pm01vm01 Configuration
|
2024-06-25 13:11:30 +02:00
|
|
|
nixosConfigurations = {
|
2024-10-11 17:17:34 +02:00
|
|
|
pm01vm01 = nixpkgs.lib.nixosSystem {
|
2024-06-25 13:11:30 +02:00
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
2024-10-11 17:17:34 +02:00
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
2024-06-25 13:11:30 +02:00
|
|
|
|
2024-10-11 17:17:34 +02:00
|
|
|
./hosts/pm01vm01
|
2024-06-25 13:11:30 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-10-11 17:17:34 +02:00
|
|
|
|
|
|
|
homeConfigurations = {
|
|
|
|
"xeovalyte@pm01vm01" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
extraSpecialArgs = { inherit inputs nix-colors; };
|
|
|
|
modules = [
|
|
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
|
|
|
|
|
|
./hosts/pm01vm01/home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
}
|
2024-10-06 16:39:15 +02:00
|
|
|
|