2024-04-17 05:52:14 +05:00
|
|
|
{
|
|
|
|
description = "My system configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-05-01 15:39:14 +03:00
|
|
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
|
2024-08-26 22:10:44 +03:00
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
2024-08-27 13:53:48 +03:00
|
|
|
stylix.url = "github:danth/stylix";
|
2024-09-10 13:46:44 +03:00
|
|
|
ayugram-desktop.url = "github:kaeeraa/ayugram-desktop/release?submodules=1";
|
2024-04-17 05:52:14 +05:00
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, ... }@inputs:
|
|
|
|
|
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
in {
|
|
|
|
|
2024-08-29 21:56:25 +03:00
|
|
|
nixosConfigurations = {
|
|
|
|
Rias = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
pkgs-stable = import nixpkgs-stable {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
inherit inputs system;
|
2024-04-17 05:52:14 +05:00
|
|
|
};
|
2024-08-29 21:56:25 +03:00
|
|
|
modules = [
|
|
|
|
./nixos/hosts/Rias/configuration.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
popka = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
pkgs-stable = import nixpkgs-stable {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
inherit inputs system;
|
|
|
|
};
|
|
|
|
modules = [
|
|
|
|
./nixos/hosts/popka/configuration.nix
|
|
|
|
];
|
2024-04-17 05:52:14 +05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-29 21:56:25 +03:00
|
|
|
homeConfigurations = {
|
|
|
|
sweetbread = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
modules = [
|
|
|
|
./home-manager/users/sweetbread/home.nix
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
inputs.stylix.homeManagerModules.stylix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
chest = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
modules = [
|
|
|
|
./home-manager/users/chest/home.nix
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
inputs.stylix.homeManagerModules.stylix
|
|
|
|
];
|
|
|
|
};
|
2024-04-17 05:52:14 +05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|