2023-08-19 23:40:25 +02:00
|
|
|
{
|
2023-08-20 00:48:31 +02:00
|
|
|
description = "NixOS configuration of MrDev023";
|
|
|
|
|
|
|
|
nixConfig = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
};
|
2023-08-19 23:40:25 +02:00
|
|
|
|
|
|
|
inputs = {
|
2024-02-02 22:49:08 +01:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
2023-08-20 01:09:30 +02:00
|
|
|
|
|
|
|
home-manager = {
|
2024-02-02 23:09:32 +01:00
|
|
|
url = "github:nix-community/home-manager/release-23.11";
|
2023-08-20 01:09:30 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-08-30 22:24:07 +02:00
|
|
|
stylix = {
|
|
|
|
url = "github:danth/stylix";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.follows = "home-manager";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-08-20 01:09:30 +02:00
|
|
|
hyprland = {
|
|
|
|
url = "github:hyprwm/hyprland";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-08-19 23:40:25 +02:00
|
|
|
};
|
|
|
|
|
2023-08-20 00:48:31 +02:00
|
|
|
outputs = inputs@{
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
|
|
|
...
|
|
|
|
}: {
|
2023-08-19 23:40:25 +02:00
|
|
|
nixosConfigurations = {
|
2023-08-20 00:12:51 +02:00
|
|
|
nixos-test = nixpkgs.lib.nixosSystem {
|
2023-08-20 00:00:27 +02:00
|
|
|
system = "x86_64-linux";
|
2023-08-20 00:48:31 +02:00
|
|
|
|
2023-08-20 00:00:27 +02:00
|
|
|
modules = [
|
2023-08-20 00:48:31 +02:00
|
|
|
./hosts/nixos-test
|
2023-08-20 00:11:19 +02:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
|
2023-08-20 00:48:31 +02:00
|
|
|
home-manager.extraSpecialArgs = inputs;
|
|
|
|
home-manager.users.florian = import ./home;
|
2023-08-20 00:11:19 +02:00
|
|
|
}
|
2023-08-20 00:00:27 +02:00
|
|
|
];
|
2023-08-19 23:40:25 +02:00
|
|
|
};
|
2024-02-02 21:07:29 +01:00
|
|
|
|
|
|
|
perso-laptop = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
./hosts/perso-laptop
|
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
|
|
|
|
home-manager.extraSpecialArgs = inputs;
|
|
|
|
home-manager.users.florian = import ./home;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-08-19 23:40:25 +02:00
|
|
|
};
|
|
|
|
};
|
2024-02-02 21:07:29 +01:00
|
|
|
}
|