os/flake.nix

52 lines
1.6 KiB
Nix
Raw Normal View History

2022-07-20 21:00:50 +02:00
{
2024-09-22 15:49:14 +02:00
description = "My OS config";
2022-07-20 21:00:50 +02:00
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"; };
2024-07-02 00:20:09 +02:00
nur.url = "github:nix-community/NUR";
2022-07-20 21:00:50 +02:00
};
2024-07-02 00:20:09 +02:00
outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons, nur }@inputs: {
2022-07-20 21:00:50 +02:00
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
2024-07-01 23:59:35 +02:00
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/iota.nix
{_module.args = {inherit inputs;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; };
}
];
2022-09-18 18:16:34 +02:00
};
nixosConfigurations.tau = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
2024-07-01 23:59:35 +02:00
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/tau.nix
{_module.args = {inherit inputs;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; };
}
];
2022-07-20 21:00:50 +02:00
};
};
}