blob: 0f83f31f133040d649f604afb59b3f5759c85103 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware?ref=master";
home-manager.url = "github:nix-community/home-manager?ref=master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
xfce4-hiddenapps-plugin.url = "git+https://codeberg.org/leoflo/xfce4-hiddenapps-plugin?ref=refs/tags/v0.0.1";
xfce4-hiddenapps-plugin.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {nixpkgs, home-manager, ...} @ inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
nixosConfigurations."hermes" = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system; };
modules = [ ./hermes/nixos ];
};
nixosConfigurations."odino" = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system; };
modules = [ ./odino/nixos ];
};
homeConfigurations."hermes" = home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { inherit inputs; };
pkgs = pkgs;
modules = [ ./hermes/home-manager ];
};
homeConfigurations."odino" = home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { inherit inputs; };
pkgs = pkgs;
modules = [ ./odino/home-manager ];
};
};
}
|