diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index f07e763..61a9bd0 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -5,6 +5,8 @@ ./../../modules/core ]; + networking.hostName = "sakura"; + environment.systemPackages = with pkgs; [ acpi brightnessctl diff --git a/hosts/violet/default.nix b/hosts/violet/default.nix index 5081bf4..08a8c8e 100644 --- a/hosts/violet/default.nix +++ b/hosts/violet/default.nix @@ -3,7 +3,6 @@ imports = [ ./hardware-configuration.nix ./../../modules/core - ./../../modules/core/sshd ]; networking.hostName = "violet"; @@ -19,7 +18,7 @@ services = { thermald.enable = true; - cpupower-gui.enable = true; + # cpupower-gui.enable = true; # power-profiles-daemon.enable = true; upower = { diff --git a/modules/core/default.nix b/modules/core/default.nix index bdb2456..b7b9e22 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -1,18 +1,19 @@ { ... }: { imports = - [(import ./bootloader.nix)] - ++ [(import ./hardware.nix)] - ++ [(import ./xserver.nix)] + # [(import ./bootloader.nix)] + [(import ./hardware.nix)] + # ++ [(import ./xserver.nix)] ++ [(import ./network.nix)] - ++ [(import ./pipewire.nix)] + # ++ [(import ./pipewire.nix)] ++ [(import ./program.nix)] + ++ [(import ./sshd.nix)] ++ [(import ./security.nix)] ++ [(import ./services.nix)] ++ [(import ./system.nix)] - ++ [(import ./user.nix)] - ++ [(import ./bluetooth.nix)] - ++ [(import ./yubikey.nix)] - ++ [(import ./steam.nix)] - ++ [(import ./wayland.nix)]; + ++ [(import ./user.nix)]; + # ++ [(import ./bluetooth.nix)] + # ++ [(import ./yubikey.nix)] + # ++ [(import ./steam.nix)] + # ++ [(import ./wayland.nix)]; } diff --git a/modules/core/network.nix b/modules/core/network.nix index 90db713..2c80cdb 100644 --- a/modules/core/network.nix +++ b/modules/core/network.nix @@ -1,7 +1,6 @@ { pkgs, ... }: { networking = { - hostName = "sakura"; networkmanager.enable = true; nameservers = [ "9.9.9.9" ]; firewall = { @@ -15,7 +14,7 @@ }; }; - environment.systemPackages = with pkgs; [ - networkmanagerapplet - ]; + # environment.systemPackages = with pkgs; [ + # networkmanagerapplet + # ]; } diff --git a/modules/core/user.nix b/modules/core/user.nix index 95b9fc4..283aecc 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -9,6 +9,8 @@ imports = if (host == "desktop") then [ ./../home/default.desktop.nix ] + else if (host == "violet") then + [ ./../home/default.violet.nix ] else [ ./../home ]; home = { username = "${username}"; diff --git a/modules/home/default.violet.nix b/modules/home/default.violet.nix new file mode 100644 index 0000000..ef42f98 --- /dev/null +++ b/modules/home/default.violet.nix @@ -0,0 +1,10 @@ +{ ...}: { + imports = + [(import ./bat.nix)] # better cat command + ++ [(import ./git.nix)] # version control + ++ [(import ./nvim.nix)] # neovim editor + ++ [(import ./packages.nix)] # other packages + ++ [(import ./scripts/scripts.nix)] # personal scripts + ++ [(import ./zsh.nix)] # shell + ++ [(import ./tmux.nix)]; # terminal multiplexer +}