Commit Graph

121 Commits

Author SHA1 Message Date
Bobby Rong
a1b567757b
Merge pull request #303115 from bobby285271/upd/exclude-pkgs
nixos/{budgie,cinnamon,pantheon}: Don't enable modules for excludePackages
2024-04-11 20:41:13 +08:00
Bobby Rong
a6ada0502b
nixos/pantheon: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877

While at it, also enable flatpak in nixosTests.pantheon so we ensure appcenter builds.
2024-04-10 21:27:31 +08:00
Sandro Jäckel
476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
Bobby Rong
bd3f680d37
pantheon.gala: Backport Wayland menu commit
gala-daemon actually needs a correct environment for `AppInfo.launch_default_for_uri`.
2024-04-05 21:23:11 +08:00
Bobby Rong
a4bca9aaef
nixos/pantheon: Add missing gala-daemon systemd services
Otherwise it doesn't autostart after user session managed by systemd.
2024-03-17 13:42:33 +08:00
Bobby Rong
7522f97cbe
pantheon: Manage user session with systemd
This is now needed as gnome-session 46 drops `--builtin` option.
2024-03-17 13:41:51 +08:00
Bobby Rong
39a1279b4d nixos/desktop-managers: Add xdg.portal.config or xdg.portal.configPackages
See the changes in x-d-p 1.17 for details.
2023-11-21 08:42:17 +01:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Bobby Rong
f4e1e8627d
nixos/pantheon: Drop qgnomeplatform
The upstream is not maintained, and qadwaitadecoration
does not seem to be xorg-related. We should have proper
shadows when using SSD.
2023-08-13 12:21:54 +08:00
Bobby Rong
69a7cd6718
Merge pull request #245481 from bobby285271/upd/pantheon
Pantheon updates 2023-07-26
2023-07-27 16:04:25 +08:00
Bobby Rong
497229d3c2
nixos/pantheon: Install orca
ref: ec0eb37689
2023-07-27 14:08:53 +08:00
Sandro Jäckel
b0c67b4b6e
treewide: rename fonts.fonts to fonts.packages 2023-07-24 17:34:39 +02:00
Bobby Rong
82970f8b1e
nixos/pantheon: Stop shipping gnome-bluetooth-contract by default
The functionality is now covered by wingpanel-indicator-bluetooth 7.0.0.
2023-06-29 20:13:07 +08:00
Bobby Rong
013bb477b4
nixos/pantheon: allow excluding pantheon-agent-geoclue2
Bash will raise syntax error for sessionCommands if sessionPath is empty.
2023-06-18 17:23:57 +08:00
Bobby Rong
e447cb9776
nixos/pantheon: enable xdg-desktop-portal-gtk by default 2023-06-02 19:29:26 +08:00
Bobby Rong
aacdc51e15
pantheon.elementary-tasks: 6.3.0 -> 6.3.1
https://github.com/elementary/tasks/releases/tag/6.3.1
2023-04-12 21:40:00 +08:00
Bobby Rong
1f9308f005
nixos/pantheon: add mutter to services.udev.packages
For ./lib/udev/rules.d/61-mutter.rules

Same as d1eeb64. This is forgotten in PR 130380.
2023-03-01 10:00:53 +08:00
pennae
0a6e6cf7e6 nixos/manual: render module chapters with nixos-render-docs
this converts meta.doc into an md pointer, not an xml pointer. since we
no longer need xml for manual chapters we can also remove support for
manual chapters from md-to-db.sh

since pandoc converts smart quotes to docbook quote elements and our
nixos-render-docs does not we lose this distinction in the rendered
output. that's probably not that bad, our stylesheet didn't make use of
this anyway (and pre-23.05 versions of the chapters didn't use quote
elements either).

also updates the nixpkgs manual to clarify that option docs support all
extensions (although it doesn't support headings at all, so heading
anchors don't work by extension).
2023-01-27 20:07:34 +01:00
linsui
a2e21c76c7 rename config.qt5 -> config.qt 2023-01-10 20:50:15 +08:00
Bobby Rong
35dffb9f93 pantheon.elementary-tasks: Mark as broken
Does not build with e-d-s 3.45+ / libsoup 3 and porting is likely not easy.
2022-10-11 18:52:33 +02:00
pennae
ef176dcf7e nixos/*: automatically convert option descriptions
conversions were done using https://github.com/pennae/nix-doc-munge
using (probably) rev f34e145 running

    nix-doc-munge nixos/**/*.nix
    nix-doc-munge --import nixos/**/*.nix

the tool ensures that only changes that could affect the generated
manual *but don't* are committed, other changes require manual review
and are discarded.
2022-08-31 16:32:53 +02:00
Will Fancher
d3e5bd0228 nixos: Don't enable packagekit by default 2022-08-17 13:53:21 -04:00
pennae
2e751c0772 treewide: automatically md-convert option descriptions
the conversion procedure is simple:

 - find all things that look like options, ie calls to either `mkOption`
   or `lib.mkOption` that take an attrset. remember the attrset as the
   option
 - for all options, find a `description` attribute who's value is not a
   call to `mdDoc` or `lib.mdDoc`
 - textually convert the entire value of the attribute to MD with a few
   simple regexes (the set from mdize-module.sh)
 - if the change produced a change in the manual output, discard
 - if the change kept the manual unchanged, add some text to the
   description to make sure we've actually found an option. if the
   manual changes this time, keep the converted description

this procedure converts 80% of nixos options to markdown. around 2000
options remain to be inspected, but most of those fail the "does not
change the manual output check": currently the MD conversion process
does not faithfully convert docbook tags like <code> and <package>, so
any option using such tags will not be converted at all.
2022-07-30 15:16:34 +02:00
Bobby Rong
2375fac93d
nixos/pantheon: treat evince and file-roller as optional app 2022-06-12 13:12:15 +08:00
Bobby Rong
860781d909
nixos/pantheon: allow disabling pantheon-agent-geoclue2 2022-06-12 13:11:58 +08:00
Bobby Rong
1097e3e80c
nixos/pantheon: make it possible to remove core packages 2022-06-12 11:39:05 +08:00
Bobby Rong
c1559a07fe
nixos/pantheon: switch to xdg.icons.enable 2022-06-12 11:39:04 +08:00
Bobby Rong
9ca889d0fb
nixos/pantheon: switch to xdg.mime.enable 2022-06-12 11:39:01 +08:00
Bobby Rong
646336ee06
nixos/pantheon: install sideload when Flatpak is enabled
Tested by installing VLC from Flathub, sideload is installed by default on elementary OS.
2022-05-21 14:05:42 +08:00
Bobby Rong
c601126bc8
nixos/pantheon: enable power-profiles-daemon
switchboard-plug-power is providing support for this since 2.7.0.

Note that we don't handle the conflict with tlp because we have
no way of knowing which way a user wants to resolve the conflict.
2022-05-18 14:19:53 +08:00
Bobby Rong
b93b4f71f2
nixos/pantheon: also treat gnome-font-viewer as non-core apps 2022-05-18 14:19:53 +08:00
Bobby Rong
6f23ca82bd
nixos/pantheon: use pantheon.gnome-settings-daemon
pantheon.gnome-settings-daemon *is* gnome.gnome-settings-daemon338,
doing this so I don't need to update this on every GSD update.
2022-05-18 13:13:54 +08:00
Sandro Jäckel
28539842d8
nixos/utils: move removePackagesByName to here from gnome 2022-04-11 15:42:49 +02:00
Bobby Rong
7ce8bc5d48
pantheon.gnome-bluetooth-contract: use gnome-bluetooth_1_0 2022-03-31 23:32:29 +08:00
Bobby Rong
5a00ac1b08 pantheon.gnome-bluetooth-contract: mark as broken
Sendto device selection is removed in gnome-bluetooth 42.
I decide it is not worth to maintain a legacy gnome-bluetooth
package for the contract.
This should also be broken in elementary OS 7.
2022-03-25 15:02:43 +01:00
Bobby Rong
b214aa70b4 pantheon.evince: drop
The vanilla evince already support dark style
preference in Pantheon, so no need to keep the patch.
2022-03-25 15:02:43 +01:00
Bobby Rong
0f97d73b74 pantheon.file-roller: drop
The vanilla file-roller already support dark style
preference in Pantheon, so no need to keep the package.
2022-03-25 15:02:33 +01:00
Bobby Rong
65f9112d6b
nixos/pantheon: enable xdg desktop integration
This prevents the embarrassing situation in https://github.com/NixOS/nixpkgs/pull/163828 from happening again.
2022-03-13 12:50:17 +08:00
Bobby Rong
bb357d8203
nixos/pantheon: install appcenter if flatpak is enabled
This is how nixos/gnome handle gnome-software.
2022-02-09 21:22:05 +08:00
Bobby Rong
e717c594ab
nixos/pantheon: enable packagekit by default
Needed for pantheon.appcenter.
2022-02-09 21:08:19 +08:00
Bobby Rong
ede5fff929
nixos/pantheon: stop setting GTK_CSD=1
See https://github.com/elementary/gala/issues/244
2022-02-02 13:47:43 +08:00
Bobby Rong
62103c4e41
pantheon.xdg-desktop-portal-pantheon: move to pkgs/desktop/pantheon
Only used by Pantheon AFAIK.
2021-12-18 11:35:55 +08:00
Bobby Rong
28a115edc4
pantheon.extra-elementary-contracts: drop 2021-12-01 23:00:10 +08:00
Bobby Rong
b5038e5127
pantheon.gnome-bluetooth-contract: init at unstable-2021-02-23 2021-12-01 22:42:21 +08:00
Bobby Rong
0a9d1ce156
pantheon.file-roller-contract: init at unstable-2021-02-23 2021-12-01 22:42:21 +08:00
Bobby Rong
6629b16e78
nixos/pantheon: install elementary-tasks by default 2021-10-29 09:10:40 +08:00
Bobby Rong
ea8d53ed16
nixos/pantheon: use Inter as default sans-serif font 2021-10-28 18:26:52 +08:00
Bobby Rong
8e440f1776
Merge pull request #142810 from bobby285271/pantheon
Pantheon updates 2021-10-25, 2021-10-26
2021-10-28 08:16:34 +08:00
Bobby Rong
4780b6df1a
pantheon.elementary-settings-daemon: 1.0.0 -> 1.1.0 2021-10-26 08:42:26 +08:00
Bobby Rong
e26214dd6c
xdg-desktop-portal-pantheon: init at 1.0.0 2021-10-26 08:35:22 +08:00