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-10-29 08:12:05 +01:00
|
|
|
firefox-macos-theme = {url = "github:AdamXweb/WhiteSurFirefoxThemeMacOS"; 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-10-29 08:12:05 +01:00
|
|
|
outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons, nur, nix-darwin, firefox-macos-theme }@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 = [
|
2024-10-29 08:12:05 +01:00
|
|
|
./nixos.nix
|
2024-07-01 23:59:35 +02:00
|
|
|
./hardware-configuration/iota.nix
|
|
|
|
{_module.args = {inherit inputs;};}
|
|
|
|
];
|
2024-10-29 08:12:05 +01:00
|
|
|
home-manager.users.steph = { imports = [ ./home.nix ./platforms/linux/home.nix ]; };
|
2024-07-01 23:59:35 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2024-10-29 08:12:05 +01:00
|
|
|
home-manager.extraSpecialArgs = { inherit inputs ; os = "linux"; };
|
2024-07-01 23:59:35 +02:00
|
|
|
}
|
|
|
|
];
|
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 = [
|
2024-10-29 08:12:05 +01:00
|
|
|
./nixos.nix
|
2024-07-01 23:59:35 +02:00
|
|
|
./hardware-configuration/tau.nix
|
|
|
|
{_module.args = {inherit inputs;};}
|
|
|
|
];
|
2024-10-29 08:12:05 +01:00
|
|
|
home-manager.users.steph = { imports = [ ./home.nix ./platforms/linux/home.nix ]; };
|
2024-07-01 23:59:35 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2024-10-29 08:12:05 +01:00
|
|
|
home-manager.extraSpecialArgs = { inherit inputs ; os = "linux"; };
|
2024-07-01 23:59:35 +02:00
|
|
|
}
|
|
|
|
];
|
2022-07-20 21:00:50 +02:00
|
|
|
};
|
2024-10-29 08:12:05 +01:00
|
|
|
homeConfigurations.stephans = home.lib.homeManagerConfiguration rec {
|
|
|
|
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
|
|
|
|
extraSpecialArgs = { inherit inputs ; os = "darwin"; };
|
|
|
|
modules = [ ./home.nix ./platforms/darwin/home.nix ];
|
|
|
|
};
|
|
|
|
|
2022-07-20 21:00:50 +02:00
|
|
|
};
|
|
|
|
}
|