-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
104 lines (100 loc) · 2.46 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
description = "Home Manager configuration of mikidep";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-stable.url = "nixpkgs/nixos-24.11";
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
sway-new-workspace = {
url = "github:mikidep/sway-new-workspace";
inputs.nixpkgs.follows = "nixpkgs";
};
sway-workspace = {
url = "github:matejc/sway-workspace";
flake = false;
};
nix-env-fish = {
url = "github:lilyball/nix-env.fish";
flake = false;
};
BOSL2 = {
url = "github:BelfrySCAD/BOSL2";
flake = false;
};
lasercut-box-openscad = {
url = "github:larsch/lasercut-box-openscad";
flake = false;
};
swayws-src = {
url = "github:mikidep/swayws";
flake = false;
};
# mikidep-neovim = {
# url = "github:mikidep/neovim";
# inputs.nixpkgs.follows = "nixpkgs";
# };
agda-docsets = {
url = "github:phijor/agda-docsets";
inputs.nixpkgs.follows = "nixpkgs";
};
yazi-plugins = {
url = "github:yazi-rs/plugins";
flake = false;
};
fuse-archive-yazi = {
url = "github:dawsers/fuse-archive.yazi";
flake = false;
};
i3-switch-if-workspace-empty = {
url = "github:giuseppe-dandrea/i3-switch-if-workspace-empty";
flake = false;
};
};
outputs = inputs @ {
nixpkgs,
nixpkgs-stable,
home-manager,
...
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
pkgs-stable = import nixpkgs-stable {
inherit system;
config = {
allowUnfree = true;
};
};
in {
homeConfigurations.mikidep = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit inputs;
inherit system;
inherit pkgs-stable;
nur = inputs.nur.legacyPackages.${system};
};
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [
./home.nix
./desktop.nix
inputs.nix-index-database.hmModules.nix-index
];
};
};
}