Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
6bbe6a1e
Commit
6bbe6a1e
authored
Jul 26, 2018
by
Valentin Reis
Browse files
added ci.nix
parent
684d3d58
Pipeline
#3669
canceled with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
deployments/ci.nix
View file @
6bbe6a1e
...
...
@@ -11,5 +11,47 @@ in
main
=
{
nodes
,
...
}:
{
imports
=
[
./providers/openstack-tacc.nix
];
networking
=
{
firewall
=
{
allowedTCPPorts
=
[
22
8080
# micro-ci
];
allowedUDPPorts
=
[
22
8080
# micro-ci
];
};
};
deployment
.
targetEnv
=
"none"
;
deployment
.
targetHost
=
"129.114.111.116"
;
users
.
extraUsers
.
fre
=
{
isNormalUser
=
true
;
extraGroups
=
[
"wheel"
];
openssh
.
authorizedKeys
.
keys
=
keys
;
};
services
.
openssh
.
enable
=
true
;
services
.
openssh
.
passwordAuthentication
=
false
;
users
.
users
.
root
.
openssh
.
authorizedKeys
.
keys
=
keys
;
systemd
.
services
=
{
## nova-config.nix disables these via profiles/headless.nix
"serial-getty@ttyS0"
.
enable
=
pkgs
.
lib
.
mkForce
true
;
"getty@tty1"
.
enable
=
pkgs
.
lib
.
mkForce
true
;
## For some reason, getty@.service is missing
## a dependency on the getty.target.
"getty@tty1"
.
wantedBy
=
[
"getty.target"
];
};
boot
.
kernelParams
=
[
"console=tty1"
];
boot
.
kernelPackages
=
pkgs
.
linuxPackages_latest
;
};
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment