-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
24 lines (23 loc) · 1.48 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# TODO(later): beets
# TODO(nixos): live+instal iso
{
inputs = {
nixpkgs = { url = "github:NixOS/nixpkgs/nixos-unstable"; };
home-manager = { url = "github:nix-community/home-manager/master"; inputs = { nixpkgs.follows = "nixpkgs"; }; };
agenix = { url = "github:ryantm/agenix"; inputs = { nixpkgs.follows = "nixpkgs"; darwin.follows = ""; }; };
nixgl = { url = "github:nix-community/nixGL"; inputs = { nixpkgs.follows = "nixpkgs"; }; };
};
outputs = inputs:
let
pkgs = inputs.nixpkgs.legacyPackages;
lib = inputs.nixpkgs.lib // inputs.home-manager.lib;
msung = 0; septs = 1; work = 2; wbus = 3;
in {
#nixosConfigurations."msung" = lib.nixosSystem { modules = [ ./host.nix ]; };
#nixosConfigurations."septs" = lib.nixosSystem { modules = [ ./host.nix ]; };
homeConfigurations."ski@msung" = lib.homeManagerConfiguration { modules = [ ./home.nix ]; pkgs = pkgs.x86_64-linux; extraSpecialArgs = { home = msung; inherit inputs; }; };
homeConfigurations."ski@septs" = lib.homeManagerConfiguration { modules = [ ./home.nix ]; pkgs = pkgs.x86_64-linux; extraSpecialArgs = { home = septs; inherit inputs; }; };
homeConfigurations."tedj@work" = lib.homeManagerConfiguration { modules = [ ./home.nix ]; pkgs = pkgs.x86_64-linux; extraSpecialArgs = { home = work; inherit inputs; }; };
homeConfigurations."tedj@wbus" = lib.homeManagerConfiguration { modules = [ ./home.nix ]; pkgs = pkgs.x86_64-linux; extraSpecialArgs = { home = wbus; inherit inputs; }; };
};
}