2024-03-08 22:46:38 +01:00
|
|
|
{
|
|
|
|
description = "NixOS configuration flake";
|
|
|
|
|
|
|
|
inputs = {
|
2024-11-13 22:10:09 +01:00
|
|
|
disko.url = "github:nix-community/disko";
|
2024-12-04 21:54:04 +01:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
|
|
|
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
2024-03-09 22:37:11 +01:00
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
2024-03-08 22:46:38 +01:00
|
|
|
};
|
|
|
|
|
2024-11-13 22:10:09 +01:00
|
|
|
outputs = { self, nixpkgs, home-manager, disko,...}:
|
2024-03-08 22:46:38 +01:00
|
|
|
let
|
2024-03-09 22:37:11 +01:00
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-03-08 22:46:38 +01:00
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
2024-03-09 22:37:11 +01:00
|
|
|
lift = nixpkgs.lib.nixosSystem {
|
2024-07-07 21:56:12 +02:00
|
|
|
inherit system;
|
2024-03-09 22:37:11 +01:00
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
|
|
|
./sway.nix
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
};
|
2024-11-13 22:10:09 +01:00
|
|
|
tien = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
disko.nixosModules.disko
|
|
|
|
./vps-configuration.nix
|
|
|
|
./vps-hardware-configuration.nix
|
|
|
|
];
|
|
|
|
};
|
2024-03-09 22:37:11 +01:00
|
|
|
};
|
|
|
|
homeConfigurations = {
|
2024-09-29 21:36:36 +02:00
|
|
|
"rothe@lift" = home-manager.lib.homeManagerConfiguration {
|
2024-03-09 22:37:11 +01:00
|
|
|
inherit pkgs;
|
2024-09-29 21:36:36 +02:00
|
|
|
modules = [
|
|
|
|
./home/rothe.nix
|
|
|
|
./home/wayland
|
|
|
|
];
|
2024-10-03 19:30:10 +02:00
|
|
|
extraSpecialArgs = {
|
2024-11-15 10:25:33 +01:00
|
|
|
mail = nixpkgs.lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
2024-10-03 19:30:10 +02:00
|
|
|
};
|
2024-09-29 21:36:36 +02:00
|
|
|
};
|
|
|
|
"rothe@johannes-powermachine" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
modules = [
|
|
|
|
./home/rothe.nix
|
|
|
|
];
|
2024-10-03 19:30:10 +02:00
|
|
|
extraSpecialArgs = {
|
2024-11-15 10:25:33 +01:00
|
|
|
mail = nixpkgs.lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
2024-10-03 19:30:10 +02:00
|
|
|
};
|
2024-03-08 22:46:38 +01:00
|
|
|
};
|
2024-09-29 22:21:13 +02:00
|
|
|
"rothe@pdemu1cml000301" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
modules = [
|
|
|
|
./home/rothe.nix
|
|
|
|
];
|
2024-10-03 19:30:10 +02:00
|
|
|
extraSpecialArgs = {
|
2024-11-15 10:25:33 +01:00
|
|
|
mail = nixpkgs.lib.strings.concatStrings ["rothe" "@" "magazino.eu"];
|
2024-10-03 19:30:10 +02:00
|
|
|
};
|
2024-09-29 22:21:13 +02:00
|
|
|
};
|
2024-03-08 22:46:38 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|