Commit Graph

131 Commits

Author SHA1 Message Date
Narice
7e7cb40909 Nix modules: fix environment variables 2022-10-14 16:19:14 +03:00
Mihai Fufezan
9370c7aa8a Nix modules: add recommendedEnvironment option 2022-09-09 17:01:24 +03:00
Mihai Fufezan
26910a8b63
Nix HM module: fix build error
Apparently HM doesn't like having `lib.mkDefault` near strings.

Fixes #635
2022-09-07 13:11:03 +03:00
Mars
cf5426f2d8 Fix typo in module.nix 2022-09-07 11:48:08 +03:00
Mihai Fufezan
1d631c8a23 Nix modules: add common environment variables 2022-09-07 01:24:09 +03:00
Mihai Fufezan
1664f81cae
Nix: revert HM module import fix
fixes #619
2022-09-03 23:22:39 +03:00
Mihai Fufezan
eee0cad4d0
Nix modules: fix imports 2022-09-03 02:20:20 +03:00
Fernando Ayats
c0a7dffcdc
nix: move wlroots and add nvidia patches (#608) 2022-09-01 20:35:50 +03:00
Mihai Fufezan
bdd20c401d
Add HiDPI xwayland + wlroots patches (#591) 2022-08-29 16:51:39 +03:00
Nicholas Cioli
df4c1c02a6
fix xwayland config option for nix (#587)
When building Hyprland in nix using the following home-manager recipe:

```nix
wayland.windowManager.hyprland = {
    enable = true;
    xwayland = false;
  };
```

The default nix configuration still makes reference to a compile argument `NO_XWAYLAND`, but the `meson_options.txt` only makes reference to `xwayland`. This causes the build to fail with:

```
meson.build:1:0: ERROR: Unknown options: "NO_XWAYLAND"
```

This change fixes that issue. This still doesn't allow you to build Hyprland without having XWayland installed (#178), but it should at least allow for valid nix configurations for when that issue gets resolved.
2022-08-27 21:45:48 +03:00
Fernando Ayats
fea6d7deb0 docs: install manpages with meson 2022-08-21 18:00:04 +02:00
Mihai Fufezan
c982312c07
Nix HM module: reload config-only 2022-08-15 00:47:56 +03:00
Mihai Fufezan
ed1b72f37d
Nix HM module: add XDG_SESSION_TYPE, fix reload 2022-08-14 23:45:55 +03:00
Fernando Ayats
c136078239
nix: use cleanSource (#518) 2022-08-12 23:12:24 +03:00
Mihai Fufezan
59879e0bd1
Nix module: make package nullable part 3 2022-07-30 18:19:27 +03:00
Mihai Fufezan
132b5ba5b6
Nix module: make package nullable part 2 2022-07-30 18:14:46 +03:00
Mihai Fufezan
3c544e1c31
Nix module: make package nullable 2022-07-30 18:11:46 +03:00
Mihai Fufezan
66680a1149
Nix: fix failing module 2022-07-29 18:39:10 +03:00
reptee
fd999100f0
Remove extra packages in nix module (#343)
Co-authored-by: Mihai Fufezan <fufexan@pm.me>
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-07-29 14:35:38 +03:00
Mihai Fufezan
0eebf3ab16
meson: add -DGIT arguments (#321) 2022-07-29 13:21:19 +03:00
Gabriel Fontes
1d3e1472f2
nix: add home-manager module (#395) 2022-07-27 17:32:42 +03:00
Mihai Fufezan
b2627c05c4
flake & meson: 0.7.0 -> 0.8.1
nix: add legacyRenderer option
2022-07-27 14:57:59 +03:00
Fernando Ayats
c8c5e0b90a
nix: fix wallpaper location (#334) 2022-07-08 17:46:42 +03:00
xDarksome
e0f0ed9af4
Don't use pkgs.hyprland package in the nix module (#299)
Users who use the overlay: see wiki for fixing your config if it broke.
2022-07-03 15:28:10 +03:00
Mihai Fufezan
cbf3595e96
nix: add debug package and waybar with -Dexperimental flag 2022-06-29 20:50:27 +03:00
Mihai Fufezan
11a5e6bcbf
nix: revert to original wlroots repo 2022-06-22 23:23:46 +03:00
Mihai Fufezan
8bd7234d72
nix: change build system to meson
flake.nix: change wlroots url to mirror, update version
flake.lock: update wlroots & nixpkgs
nix/update-inputs.sh: update wlroots url
2022-06-21 22:11:46 +03:00
Fernando Ayats
4efd913de8 nix: use the overlay in the module 2022-06-20 13:04:40 +02:00
Mihai Fufezan
7451890fd7
nix: replace paths dynamically 2022-06-02 19:10:56 +03:00
Mihai Fufezan
6daa866beb
nix/updater: only update wlroots on rev change 2022-06-02 00:09:28 +03:00
Mihai Fufezan
9447fcd603
fix Nix build and add updater
- move unnecessary toplevel files to nix/
- added patch that ignores the submodule (revert)
- add update script run by a workflow
2022-06-01 23:52:08 +03:00