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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tom Prince
PrivateStorageio
Commits
7c19c609
Commit
7c19c609
authored
5 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
This host didn't make it and will probably get wiped.
parent
13e843f0
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
morph/grid.nix
+0
-4
0 additions, 4 deletions
morph/grid.nix
morph/staging001-hardware.nix
+0
-24
0 additions, 24 deletions
morph/staging001-hardware.nix
morph/staging001.nix
+0
-39
0 additions, 39 deletions
morph/staging001.nix
with
0 additions
and
67 deletions
morph/grid.nix
+
0
−
4
View file @
7c19c609
...
@@ -16,10 +16,6 @@ import ./make-grid.nix {
...
@@ -16,10 +16,6 @@ import ./make-grid.nix {
# doesn't specify one.
# doesn't specify one.
#
#
# The names must be unique!
# The names must be unique!
"staging001"
=
import
./staging001.nix
{
publicIPv4
=
"209.95.51.251"
;
inherit
(
cfg
)
publicStoragePort
;
};
# Pass the whole grid configuration to the module and let it take what it
# Pass the whole grid configuration to the module and let it take what it
# wants.
# wants.
...
...
This diff is collapsed.
Click to expand it.
morph/staging001-hardware.nix
deleted
100644 → 0
+
0
−
24
View file @
13e843f0
{
config
,
lib
,
pkgs
,
...
}:
{
imports
=
[
<
nixpkgs/nixos/modules/installer/scan/not-detected.nix
>
];
boot
.
initrd
.
availableKernelModules
=
[
"xhci_pci"
"ahci"
"usbhid"
"sd_mod"
];
boot
.
initrd
.
kernelModules
=
[
"dm-snapshot"
];
boot
.
kernelModules
=
[
"kvm-intel"
];
boot
.
extraModulePackages
=
[
];
fileSystems
.
"/"
=
{
device
=
"/dev/disk/by-uuid/cde5f64f-a179-42f4-808f-d1f43584db23"
;
fsType
=
"ext4"
;
};
swapDevices
=
[
{
device
=
"/dev/disk/by-uuid/9084108f-592b-4a13-b833-4dd41d2709d3"
;
}
];
nix
.
maxJobs
=
lib
.
mkDefault
8
;
powerManagement
.
cpuFreqGovernor
=
lib
.
mkDefault
"powersave"
;
}
This diff is collapsed.
Click to expand it.
morph/staging001.nix
deleted
100644 → 0
+
0
−
39
View file @
13e843f0
{
publicIPv4
,
publicStoragePort
}:
{
config
,
pkgs
,
...
}:
{
imports
=
[
# Include the results of the hardware scan.
./staging001-hardware.nix
];
boot
.
loader
.
grub
.
enable
=
true
;
boot
.
loader
.
grub
.
version
=
2
;
boot
.
loader
.
grub
.
device
=
"/dev/disk/by-id/wwn-0x50000396cb7049cb"
;
# Let me in to do subsequent configuration.
networking
.
firewall
.
enable
=
false
;
services
.
openssh
.
enable
=
true
;
users
.
users
.
root
.
openssh
.
authorizedKeys
.
keys
=
[
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4GenAY/YLGuf1WoMXyyVa3S9i4JLQ0AG+pt7nvcLlQ exarkun@baryon"
];
# networking.hostName = "staging001";
# networking.domain = "storage.privatestorage-staging.com";
# Provide the static network configuration.
networking
.
interfaces
=
{
enp2s0f0
.
ipv4
.
addresses
=
[
{
address
=
publicIPv4
;
prefixLength
=
24
;
}
];
};
networking
.
defaultGateway
=
{
address
=
"209.95.51.1"
;
interface
=
"enp2s0f0"
;
};
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system
.
stateVersion
=
"19.03"
;
# Did you read the comment?
}
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