2024-03-24 16:15:15 +01:00
|
|
|
{
|
|
|
|
description = "siempie's special";
|
|
|
|
|
|
|
|
# inputs
|
|
|
|
inputs = {
|
2024-04-03 00:16:27 +02:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
2024-03-27 21:39:20 +01:00
|
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
2024-03-24 16:15:15 +01:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/release-23.11";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# outputs
|
|
|
|
outputs = { self, nixpkgs, nixpkgs-unstable,home-manager, ...} @ inputs: let
|
|
|
|
inherit (self) outputs;
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
unstableOverlay = final: prev: {
|
|
|
|
unstable = import nixpkgs-unstable {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
|
|
|
|
|
|
# laptop - itclt75
|
|
|
|
itclt75 = lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs outputs;};
|
|
|
|
specialArgs.channels = { inherit nixpkgs nixpkgs-unstable; };
|
|
|
|
inherit system;
|
|
|
|
modules = [
|
|
|
|
({
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = [ unstableOverlay ];
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
})
|
|
|
|
./nix/systems/itclt75/configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.simon = {
|
|
|
|
imports = [
|
|
|
|
./nix/home
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
# laptop - talathiel
|
|
|
|
talathiel = lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs outputs;};
|
|
|
|
specialArgs.channels = { inherit nixpkgs nixpkgs-unstable; };
|
|
|
|
inherit system;
|
|
|
|
modules = [
|
|
|
|
({
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = [ unstableOverlay ];
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
})
|
|
|
|
./nix/systems/talathiel/configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.simon = {
|
|
|
|
imports = [
|
|
|
|
./nix/home
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
# desktop - phaedra
|
|
|
|
phaedra = lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs outputs;};
|
|
|
|
specialArgs.channels = { inherit nixpkgs nixpkgs-unstable; };
|
|
|
|
inherit system;
|
|
|
|
modules = [
|
|
|
|
({
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = [ unstableOverlay ];
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
})
|
|
|
|
./nix/systems/phaedra/configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.simon = {
|
|
|
|
imports = [
|
|
|
|
./nix/home
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|