rotuer: set hostname
This commit is contained in:
parent
39b09df4d7
commit
eadd982a79
1 changed files with 4 additions and 3 deletions
|
@ -36,7 +36,7 @@ in rec {
|
||||||
../modules/standard.nix
|
../modules/standard.nix
|
||||||
];
|
];
|
||||||
rootfsType = "jffs2";
|
rootfsType = "jffs2";
|
||||||
|
hostname = "rotuer";
|
||||||
kernel = {
|
kernel = {
|
||||||
config = {
|
config = {
|
||||||
PPP = "y";
|
PPP = "y";
|
||||||
|
@ -223,7 +223,7 @@ in rec {
|
||||||
|
|
||||||
services.default = target {
|
services.default = target {
|
||||||
name = "default";
|
name = "default";
|
||||||
contents = with services; [
|
contents = with config.services; [
|
||||||
config.hardware.networkInterfaces.lo
|
config.hardware.networkInterfaces.lo
|
||||||
config.hardware.networkInterfaces.lan
|
config.hardware.networkInterfaces.lan
|
||||||
int
|
int
|
||||||
|
@ -236,7 +236,8 @@ in rec {
|
||||||
dns
|
dns
|
||||||
resolvconf
|
resolvconf
|
||||||
sshd
|
sshd
|
||||||
|
config.services.hostname
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
defaultProfile.packages = with pkgs; [ nftables tcpdump ] ;
|
defaultProfile.packages = with pkgs; [min-collect-garbage nftables tcpdump] ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue