mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
fix: move hostname to host itself
This commit is contained in:
parent
7b3f4c3e8f
commit
84ce300e0e
2 changed files with 13 additions and 13 deletions
|
|
@ -1,18 +1,19 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[(import ./bootloader.nix)]
|
# [(import ./bootloader.nix)]
|
||||||
++ [(import ./hardware.nix)]
|
[(import ./hardware.nix)]
|
||||||
++ [(import ./xserver.nix)]
|
# ++ [(import ./xserver.nix)]
|
||||||
++ [(import ./network.nix)]
|
++ [(import ./network.nix)]
|
||||||
++ [(import ./pipewire.nix)]
|
# ++ [(import ./pipewire.nix)]
|
||||||
++ [(import ./program.nix)]
|
++ [(import ./program.nix)]
|
||||||
|
++ [(import ./sshd.nix)]
|
||||||
++ [(import ./security.nix)]
|
++ [(import ./security.nix)]
|
||||||
++ [(import ./services.nix)]
|
++ [(import ./services.nix)]
|
||||||
++ [(import ./system.nix)]
|
++ [(import ./system.nix)]
|
||||||
++ [(import ./user.nix)]
|
++ [(import ./user.nix)];
|
||||||
++ [(import ./bluetooth.nix)]
|
# ++ [(import ./bluetooth.nix)]
|
||||||
++ [(import ./yubikey.nix)]
|
# ++ [(import ./yubikey.nix)]
|
||||||
++ [(import ./steam.nix)]
|
# ++ [(import ./steam.nix)]
|
||||||
++ [(import ./wayland.nix)];
|
# ++ [(import ./wayland.nix)];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "sakura";
|
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
nameservers = [ "9.9.9.9" ];
|
nameservers = [ "9.9.9.9" ];
|
||||||
firewall = {
|
firewall = {
|
||||||
|
|
@ -15,7 +14,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
# environment.systemPackages = with pkgs; [
|
||||||
networkmanagerapplet
|
# networkmanagerapplet
|
||||||
];
|
# ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue