2022-07-20 21:00:50 +02:00
|
|
|
{
|
|
|
|
description = "A very basic flake";
|
|
|
|
|
|
|
|
inputs = {
|
2024-07-01 22:40:58 +02:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
2022-07-20 21:00:50 +02:00
|
|
|
|
2024-07-01 22:40:58 +02:00
|
|
|
home.url = "github:nix-community/home-manager/release-24.05";
|
2022-07-20 21:00:50 +02:00
|
|
|
home.inputs.nixpkgs.follows = "nixpkgs";
|
2024-07-01 22:40:58 +02:00
|
|
|
|
|
|
|
firefox-gnome-theme = { url = "github:rafaelmardojai/firefox-gnome-theme"; flake = false; };
|
2024-07-01 23:54:27 +02:00
|
|
|
firefox-addons = { url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; inputs.nixpkgs.follows = "nixpkgs"; };
|
2022-07-20 21:00:50 +02:00
|
|
|
};
|
|
|
|
|
2024-07-01 23:54:27 +02:00
|
|
|
outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons }@inputs: {
|
2022-07-20 21:00:50 +02:00
|
|
|
|
|
|
|
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
home.nixosModules.home-manager
|
|
|
|
{
|
2022-09-18 18:16:34 +02:00
|
|
|
imports = [
|
|
|
|
./configuration.nix
|
|
|
|
./hardware-configuration/iota.nix
|
2024-07-01 22:40:58 +02:00
|
|
|
{_module.args = {inherit inputs;};}
|
2022-09-18 18:16:34 +02:00
|
|
|
];
|
2024-07-01 22:57:35 +02:00
|
|
|
home-manager.users.steph = import ./home.nix;
|
2024-07-01 23:54:27 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2024-07-01 23:04:26 +02:00
|
|
|
home-manager.extraSpecialArgs = { inherit inputs ; };
|
2022-09-18 18:16:34 +02:00
|
|
|
}];
|
|
|
|
};
|
|
|
|
nixosConfigurations.tau = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
home.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./configuration.nix
|
|
|
|
./hardware-configuration/tau.nix
|
2024-07-01 22:40:58 +02:00
|
|
|
{_module.args = {inherit inputs;};}
|
2022-09-18 18:16:34 +02:00
|
|
|
];
|
2024-07-01 22:57:35 +02:00
|
|
|
home-manager.users.steph = import ./home.nix;
|
2024-07-01 23:54:27 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2024-07-01 23:04:26 +02:00
|
|
|
home-manager.extraSpecialArgs = { inherit inputs ; };
|
2022-07-20 21:00:50 +02:00
|
|
|
}];
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|