-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
executable file
·119 lines (101 loc) · 2.28 KB
/
Copy pathflake.nix
File metadata and controls
executable file
·119 lines (101 loc) · 2.28 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
description = "My system configuration";
inputs = {
# nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
# home-manager
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# nixvim
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
# NVF
nvf.url = "github:notashelf/nvf";
# hyprland
hyprland.url = "github:hyprwm/Hyprland";
winapps = {
url = "github:winapps-org/winapps";
inputs.nixpkgs.follows = "nixpkgs";
};
# # fabric
# fabric.url = "github:Fabric-Development/fabric";
# fabric-libgray.url = "github:Fabric-Development/gray";
# fabric-libglace.url = "github:muhchaudhary/glace/hyprland";
# Godot_Engine
# godot.url = "github:godotengine/godot/4.5";
# PrismLauncher
# prism-launcher.url = "github:PrismLauncher/PrismLauncher#prismlauncher";
# ayugram-desktop
# ayugram-desktop.url = "github:ayugram-port/ayugram-desktop/release?submodules=1";
# swww
# swww.url = "github:LGFae/swww";
};
outputs = {
self,
nixpkgs, nixpkgs-stable, home-manager,
winapps,
nixvim,
# nvf,
hyprland,
# fabric,
# prism-launcher,
# ayugram-desktop,
# swww,
...
}@inputs:
let
system = "x86_64-linux";
in {
# {_CONFIGURATION-NIXVIM_}
# # {_CONFIGURATION-NVF_}
# packages.${system}.default = (
# nvf.lib.neovimConfiguration {
# pkgs = nixpkgs.legacyPackages.${system};
# modules = [ ./nvf/nvf-configuration.nix ];
# }
# ).neovim;
# {_CONFIGURATION-NIXOS_}
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
specialArgs = {
pkgs-stable = import nixpkgs-stable {
inherit system;
config.allowUnfree = true;
};
inherit inputs system;
};
modules = [
./nixos/configuration.nix
inputs.nixvim.nixosModules.nixvim
# nvf.nixosModules.default
(
{
pkgs,
system ? pkgs.system,
...
}:
{
environment.systemPackages = [
winapps.packages."${system}".winapps
winapps.packages."${system}".winapps-launcher # optional
];
}
)
];
};
homeConfigurations = {
zhnets = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit inputs; };
modules = [
./home-manager/gruvbox.nix
# ./home-manager/catppuccin.nix
];
};
};
};
}