50 lines
1.5 KiB
Nix
50 lines
1.5 KiB
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
|
|
home.url = "github:nix-community/home-manager/release-24.05";
|
|
home.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
firefox-gnome-theme = { url = "github:rafaelmardojai/firefox-gnome-theme"; flake = false; };
|
|
firefox-addons = { url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; inputs.nixpkgs.follows = "nixpkgs"; };
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons }@inputs: {
|
|
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
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 ; };
|
|
}
|
|
];
|
|
};
|
|
nixosConfigurations.tau = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
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 ; };
|
|
}
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|