-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
77 lines (65 loc) · 2.54 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
{
outputs = inputs @ { self, nixpkgs, deploy-rs, ... }:
{
nixosConfigurations = import ./hosts inputs;
deploy.nodes.akebi = {
hostname = "akebi";
remoteBuild = false;
profiles.system = {
user = "root";
sshUser = "deploy";
path =
deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.akebi;
};
};
# This is highly advised, and will prevent many possible mistakes
checks =
builtins.mapAttrs
(system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
devShells.x86_64-linux.default = let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in pkgs.mkShell {
packages = [ pkgs.deploy-rs ];
};
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-24.11-small";
nixpkgs-master.url = "github:NixOS/nixpkgs";
nixpkgs-stremio-server.url = "github:NixOS/nixpkgs/aae94e56a7b905281f007a5b70aa7ffff89aee57";
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
impermanence.url = "github:nix-community/impermanence";
agenix.url = "github:ryantm/agenix";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
hyprland.inputs.nixpkgs.follows = "nixpkgs-unstable";
split-monitor-workspaces = {
url = "github:Duckonaut/split-monitor-workspaces";
inputs.hyprland.follows = "hyprland";
};
ags.url = "github:Aylur/ags";
walker.url = "github:abenz1267/walker";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
deploy-rs.url = "github:serokell/deploy-rs";
tlock.url = "git+https://github.com/eklairs/tlock?submodules=1";
tlock.inputs.nixpkgs.follows = "nixpkgs-unstable";
neovim.url = "github:Maroka-chan/nvim-config";
neovim.inputs.nixpkgs.follows = "nixpkgs-unstable";
shutoku.url = "git+ssh://git@github.com/Maroka-chan/Shutoku-rs";
shutoku.inputs.nixpkgs.follows = "nixpkgs-unstable";
vpn-confinement.url = "github:Maroka-chan/VPN-Confinement";
umu = {
url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1";
inputs.nixpkgs.follows = "nixpkgs-master";
};
hoyonix.url = "git+ssh://git@github.com/Maroka-chan/hoyonix";
hoyonix.inputs.nixpkgs.follows = "nixpkgs-unstable";
};
}