Switch to local name
This commit is contained in:
parent
9094b474b7
commit
9b0336a74d
2 changed files with 1 additions and 74 deletions
|
|
@ -144,40 +144,6 @@ with lib; {
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.snapper = {
|
|
||||||
# configs =
|
|
||||||
# let
|
|
||||||
# commonExtraConfig = ''
|
|
||||||
# ALLOW_USERS="bertof"
|
|
||||||
# TIMELINE_CREATE=yes
|
|
||||||
# TIMELINE_CLEANUP=yes
|
|
||||||
# '';
|
|
||||||
# in
|
|
||||||
# {
|
|
||||||
# bertof_raid0 = {
|
|
||||||
# subvolume = "/mnt/raid0/bertof";
|
|
||||||
# extraConfig = ''
|
|
||||||
# ALLOW_USERS="bertof"
|
|
||||||
# ${commonExtraConfig}
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
# tiziano_raid0 = {
|
|
||||||
# subvolume = "/mnt/raid0/tiziano";
|
|
||||||
# extraConfig = ''
|
|
||||||
# ALLOW_USERS="tiziano"
|
|
||||||
# ${commonExtraConfig}
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
# condiviso_raid0 = {
|
|
||||||
# subvolume = "/mnt/raid0/condiviso";
|
|
||||||
# extraConfig = ''
|
|
||||||
# ALLOW_USERS="bertof tiziano"
|
|
||||||
# ${commonExtraConfig}
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
# systemd.packages = with pkgs; [ syncthing ];
|
# systemd.packages = with pkgs; [ syncthing ];
|
||||||
# systemd.services =
|
# systemd.services =
|
||||||
# let
|
# let
|
||||||
|
|
@ -242,44 +208,5 @@ with lib; {
|
||||||
# extraCommands = ''iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns'';
|
# extraCommands = ''iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns'';
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# virtualisation = {
|
|
||||||
# docker.enable = true;
|
|
||||||
# kvmgt.enable = true;
|
|
||||||
# libvirtd.enable = true;
|
|
||||||
# podman.enable = true;
|
|
||||||
# # virtualbox.host.enable = true;
|
|
||||||
|
|
||||||
# oci-containers.containers = {
|
|
||||||
# hass = {
|
|
||||||
# image = "ghcr.io/home-assistant/home-assistant:stable";
|
|
||||||
# environment = {
|
|
||||||
# TZ = "Europe/Rome";
|
|
||||||
# };
|
|
||||||
# extraOptions = [ "--privileged" "--network=host" "--pull=always" ];
|
|
||||||
# ports = [ "8123:8123" ];
|
|
||||||
# volumes = [
|
|
||||||
# "/var/lib/hass:/config"
|
|
||||||
# "/mnt/raid0/condiviso:/media"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
security.sudo.extraConfig = ''
|
|
||||||
Defaults pwfeedback
|
|
||||||
'';
|
|
||||||
|
|
||||||
# nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# system.autoUpgrade = {
|
|
||||||
# enable = true;
|
|
||||||
# allowReboot = true;
|
|
||||||
# flags = [
|
|
||||||
# "-I"
|
|
||||||
# "nixos-config=/home/bertof/.config/nixpkgs/nixos/loki.nix"
|
|
||||||
# "--upgrade"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
baldur = {
|
baldur = {
|
||||||
hostname = "164.90.208.134";
|
hostname = "baldur.local";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
user = "root";
|
user = "root";
|
||||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.baldur;
|
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.baldur;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue