Ihar Hrachyshka
567e8dfd8e
treewide: clean up 'meta = with' pattern
...
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de >
2025-12-10 18:09:49 +01:00
Bobby Rong
b21fe8378a
pantheon: Remove onscreen keyboard settings
...
We no longer ship Pantheon X11 session in NixOS, this won't happen
upstream before elementary OS 9, so patch here for now.
2025-11-15 20:58:14 +08:00
Bobby Rong
63d3d16d61
pantheon.elementary-session-settings: 8.0.1-unstable-2025-09-15 -> 8.1.0
...
e708fd4935 ...8.1.0
2025-10-31 22:54:50 +08:00
Wolfgang Walther
90e7159c55
treewide: remove unused rec
...
Auto-fix by nixf-diagnose.
2025-10-05 10:49:12 +02:00
Bobby Rong
d89600b7e9
pantheon.elementary-session-settings: Drop x11 session
...
The fallback-session option is not used in wayland session, and also
ignored in gnome-session 49.
2025-09-18 20:23:50 +08:00
Bobby Rong
dab21639eb
pantheon.elementary-session-settings: Allow disabling x11 session
...
As mentioned in PR 442810, I plan to do this very soon.
2025-09-15 21:59:00 +08:00
Anthony Rodriguez
c5797e8556
pantheon.elementary-session-settings: remove gnome-keyring.ssh.desktop autostart
2025-06-13 22:37:12 +02:00
Fernando Rodrigues
05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
...
Follow-up to #394797 .
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net >
2025-04-25 22:20:17 -03:00
Winter
a19cd4ffb1
Revert "treewide: replace rev with tag"
...
This reverts commit 65a333600d .
This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.
It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).
A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.
[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d
treewide: replace rev with tag
2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40
treewide: Format all Nix files
...
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:
nix-build ci -A fmt.check
This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153 )
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166 ).
This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537 ).
Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase ).
If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/ ) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Bobby Rong
1ffd79918c
pantheon.elementary-session-settings: Use upstream session files
...
* "Secure Session" is the wayland session.
* Even I prefer the original name, upstream prefers to name session this way so 🤷
2025-01-11 23:09:10 +08:00
Bobby Rong
669951f780
pantheon.elementary-session-settings: Various simplifications
...
* Remove default-elementary-dockitems.desktop as it is not useful with the new dock.
* See https://github.com/GNOME/gtk/blob/4.16.12/gtk/gtksettings.c for gtk-4.0/settings.ini.
* With systemd managed session the required components are actually managed by systemd.
* After the above changes there is no more need to install the script in libexec.
2025-01-11 23:09:10 +08:00
Bobby Rong
13d9fa4a2b
pantheon.elementary-session-settings: Build wayland session
...
Finally finishes issue 237954.
2025-01-11 23:09:10 +08:00
Bobby Rong
a9336dcf63
pantheon.elementary-session-settings: 8.0.0 -> 8.0.1
...
https://github.com/elementary/session-settings/compare/8.0.0...8.0.1
2024-10-13 11:49:59 +08:00
Bobby Rong
1ff7e28086
pantheon.elementary-session-settings: 6.0.0-unstable-2024-03-29 -> 8.0.0
...
53bf57e5b3 ...8.0.0
2024-08-23 21:31:48 +08:00
Bobby Rong
cf95976e0e
pantheon.elementary-session-settings: 6.0.0-unstable-2023-09-05 -> 6.0.0-unstable-2024-03-29
...
3476c89bbb...53bf57e5b3
2024-04-05 21:25:47 +08:00
Bobby Rong
e96d5c13d0
Merge pull request #140429 from bobby285271/pantheon-systemd
...
pantheon: manage user session with systemd
2024-03-29 22:55:39 +08:00
Bobby Rong
bdf65be4be
pantheon: Skip nixpkgs-update for packages using un-tagged commits
...
It looks like nix-update-script cannot handle this well, we can switch to
other updaters but I am just too lazy to do that.
2024-03-24 14:38:01 +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
4c7ad186a5
pantheon.elementary-session-settings: 6.0.0 -> 6.0.0-unstable-2023-09-05
...
https://github.com/elementary/session-settings/compare/6.0.0...3476c89bbb66564a72c6495ac0c61f8f9ed7a3ec
This brings initial systemd support, this is a preparation of gnome-session 46 --builtin removal.
2024-03-16 19:35:22 +08:00
figsoda
a211d94291
treewide: remove attrPath from nix-update-script calls
...
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703 , `attrPath` can now be omitted when using `nix-update-script`
2022-12-26 12:39:21 -05:00
figsoda
ec8cb34358
treewide: fix typos
2022-12-17 19:39:44 -05:00
Bobby Rong
45ec3d3d4a
pantheon.elementary-session-settings: fix xsession TryExec
...
Otherwise Pantheon may not appear in display managers.
2022-01-24 20:31:09 +08:00
Bobby Rong
046f4d5220
pkgs/pantheon: drop repoName
...
It is not necessary to set this separately.
Addressing the formatting now to minimize the Pantheon 7 update PR diff.
2022-01-24 20:31:02 +08:00
Bobby Rong
7bec0408e7
pkgs/pantheon: remove unused pantheon from args
2021-11-26 16:51:18 +08:00
Bobby Rong
0fd8cc3908
treewide: switch from pantheon.maintainers to lib.teams.pantheon
2021-09-18 23:07:00 +08:00
Bobby Rong
760f7e57e4
nixos/pantheon: install elementary-mail by default
2021-09-18 19:33:40 +08:00
Bobby Rong
990ba07855
pantheon.elementary-session-settings: unstable-2020-07-06 -> 6.0.0
2021-09-18 19:33:36 +08:00
Sandro Jäckel
7ccf4d1259
pantheon.elementary-session-settings: remove unused input
2021-03-01 15:19:05 +01:00
Sandro Jäckel
1db2eb8991
pantheon.elementary-session-settings: remove unused input
2021-02-18 16:58:38 +01:00
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
WORLDofPEACE
a48be6a7f2
pantheon.elementary-session-settings: cleanup
2020-10-09 19:36:13 -04:00
WORLDofPEACE
17d7060f5d
pantheon.elementary-session-settings: 2020-06-11 -> 2020-07-06
...
Because gnome-session now uses 'enabled' systemd session we have
to make this use --builtin [0]
[0]: fa15cbd83f
2020-10-09 19:36:13 -04:00
worldofpeace
d12c11e30c
treewide: use nix-update updateScript for packages I maintain
2020-07-29 12:33:39 -04:00
worldofpeace
0a392fa7c2
pantheon.elementary-session-settings: 2019-11-12 -> 2020-06-11
2020-07-07 10:35:05 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
worldofpeace
53bea3717f
pantheon.elementary-session-settings: add g-s-d version mappings
...
Needed to have a correct pantheon.session gnome-session file.
2020-04-06 02:48:07 -04:00
worldofpeace
741313d01b
pantheon.elementary-session-settings: 5.0.3 -> 2019-11-12
...
So we can drop the meson.patch intree.
2020-04-06 02:48:07 -04:00
worldofpeace
95dfa8b8cf
pantheon: no bash update script, nixpkgs_github_update
...
Cuz ew. What could be more ew? Not this really.
Clearly using update-source-version (bash) from a different lang
is better? 😜 ️
2019-12-22 01:47:42 -05:00
Tor Hedin Brønner
dd7144b860
nixos/sessionPackages: provide session names in passthru
...
We want access to the valid session names at evaluation time.
2019-12-15 04:16:18 +01:00
worldofpeace
7e7a155a9c
pantheon.elementary-session-settings: build with meson
2019-10-05 06:00:49 -04:00
worldofpeace
614c493592
pantheon.elementary-session-settings: use writeTextFile, change plank dirs
...
Adapts to plank launcher directory change.
2019-10-05 06:00:49 -04:00
worldofpeace
a62a8aaa14
pantheon.elementary-session-settings: add default settings to config dirs
...
Also don't use placeholder in the executable.
2019-10-03 00:09:17 +02:00
volth
7b8fb5c06c
treewide: remove redundant quotes
2019-09-08 23:38:31 +00:00
worldofpeace
5c04758bf7
pantheon.elementary-session-settings: add onboard autostart
2019-09-02 00:15:30 -04:00
worldofpeace
0b59f4212c
pantheon: stylize expressions
...
The same way we want them in GNOME in nixpkgs.
Didn't touch the greeter expression because I have
a branch where it's already rewritten.
2019-08-06 11:20:01 -04:00
worldofpeace
bd429bb06c
pantheon: use dontConfigure where applicable
2019-08-05 18:41:34 -04:00
worldofpeace
52fa0c2cc5
pantheon: use repoName
...
Now these expressions don't look so weird.
2019-08-05 18:41:32 -04:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00