-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
43 lines (37 loc) · 1.14 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
42
43
{
description = "Toby's NixOS system and user configurations";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# This is release 2024-04-20, the one before the big one with the kernel and uboot updates that apprently breaks graphics
apple-silicon = {
url = "github:tpwrules/nixos-apple-silicon/15dbcfd42d9f4924b2f9cca5942d3cb0048e147f";
# inputs.nixpkgs.follows = "nixpkgs";
};
hyprland.url = "github:hyprwm/Hyprland/0c513ba91bd73106be99e35b1a020d24e5ae874a";
ags.url = "github:Aylur/ags";
};
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations.deepthought = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = { inherit inputs; };
modules = [
./system/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.backupFileExtension = "backup";
home-manager.users.toby = {
imports = [
inputs.ags.homeManagerModules.default
./home
];
};
}
];
};
};
}