-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
41 lines (37 loc) · 1.07 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
description = "Home Manager + NixOS configuration of Abdullah Khabir";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hardware.url = "github:nixos/nixos-hardware";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations.ak = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./dots/home.nix
{
home = {
username = "ak";
homeDirectory = "/home/ak";
stateVersion = "22.11";
};
}
];
#extraSpecialArgs.repos = { inherit stacktile river; };
};
nixosConfigurations.x1c = nixpkgs.lib.nixosSystem {
#inherit pkgs;
system = "x86_64-linux";
modules =
[ ./nixos/configuration.nix ./nixos/hardware-configuration.nix ];
};
};
}