Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Commits
cb1f37e1
Commit
cb1f37e1
authored
3 years ago
by
Florian Sesser
Browse files
Options
Downloads
Patches
Plain Diff
Add an introducing comment to restricted-service.nix
parent
f62e0bea
No related branches found
Branches containing commit
No related tags found
2 merge requests
!274
merge develop into production
,
!262
Miscellaneous changes
Pipeline
#1863
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nixos/modules/restricted-service.nix
+8
-1
8 additions, 1 deletion
nixos/modules/restricted-service.nix
with
8 additions
and
1 deletion
nixos/modules/restricted-service.nix
+
8
−
1
View file @
cb1f37e1
# Provide secure defaults for systemd services
#
# Good reads:
# https://gist.github.com/ageis/f5595e59b1cddb1513d1b425a323db04
# https://docs.arbitrary.ch/security/systemd.html
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html
{
DynamicUser
=
true
;
# This set of restrictions is mostly dervied from
# - running `systemd-analyze security zkap-spending-service.service
# - running `systemd-analyze security zkap-spending-service.service
`
# - Looking at the restrictions from the nixos nginx config.
AmbientCapabilities
=
""
;
CapabilityBoundingSet
=
""
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment