forked from Suya1671/commafiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
87 lines (72 loc) · 2.02 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
description = "Suyashtnt's (maybe) good dotfiles";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
nixpkgs-f2k.url = "github:fortuneteller2k/nixpkgs-f2k";
flake-utils.url = "github:numtide/flake-utils";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
xdg-desktop-portal-hyprland = {
url = "github:hyprwm/xdg-desktop-portal-hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-wayland = {
url = "github:nix-community/nixpkgs-wayland";
inputs.nixpkgs.follows = "nixpkgs";
};
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
};
xresources = {
url = "github:catppuccin/xresources";
flake = false;
};
btop-theme = {
url = "github:catppuccin/btop";
flake = false;
};
grub-theme = {
url = "github:catppuccin/grub";
flake = false;
};
swww-src = {
url = "github:Horus645/swww";
flake = false;
};
nyoom-src = {
url = "github:nyoom-engineering/nyoom.nvim";
flake = false;
};
};
outputs = { self, ... } @ inputs:
let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs {
inherit system;
};
in
{
nixosConfigurations = import ./systems inputs;
devShells.x86_64-linux.default = pkgs.mkShell {
packages = with pkgs; [
rnix-lsp # nix LSP
yaml-language-server # yaml LSP
alejandra # uncomprimising nix formatter
fnlfmt # fennel formatter
];
};
packages.${system} = {
catppuccin-folders = pkgs.callPackage ./pkgs/catppuccin-folders.nix { };
catppuccin-gtk = pkgs.callPackage ./pkgs/catppuccin-gtk.nix { };
catppuccin-cursors = pkgs.callPackage ./pkgs/catppuccin-cursors.nix { };
};
};
}