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-11-21 21:57:45 +01:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-12-03 10:13:54 +01:00
|
|
|
nixpkgs-2405.url = "github:nixos/nixpkgs/nixos-24.05";
|
2022-07-20 21:00:50 +02:00
|
|
|
|
2024-11-21 21:57:45 +01:00
|
|
|
home.url = "github:nix-community/home-manager";
|
2022-07-20 21:00:50 +02:00
|
|
|
home.inputs.nixpkgs.follows = "nixpkgs";
|
2024-07-01 22:40:58 +02:00
|
|
|
|
2024-12-03 10:13:54 +01:00
|
|
|
firefox-gnome-theme = { url = "github:rafaelmardojai/firefox-gnome-theme/v133"; 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";
|
2024-11-18 10:49:43 +01:00
|
|
|
mac-app-util.url = "github:hraban/mac-app-util";
|
2022-07-20 21:00:50 +02:00
|
|
|
};
|
|
|
|
|
2024-12-03 10:13:54 +01:00
|
|
|
outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons, nur, nix-darwin, firefox-macos-theme, mac-app-util, nixpkgs-2405 }@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 ]; };
|
|
|
|
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 ]; };
|
|
|
|
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"; };
|
2024-11-18 10:49:43 +01:00
|
|
|
modules = [
|
|
|
|
./home.nix
|
|
|
|
./platforms/darwin/home.nix
|
|
|
|
mac-app-util.homeManagerModules.default
|
|
|
|
];
|
2024-10-29 08:12:05 +01:00
|
|
|
};
|
|
|
|
|
2022-07-20 21:00:50 +02:00
|
|
|
};
|
|
|
|
}
|