From a8dd1956dd5f09c15fb9eeb7e459504ed9448813 Mon Sep 17 00:00:00 2001 From: Wekuz Date: Tue, 30 Dec 2025 13:05:22 +0200 Subject: [PATCH] Rename opti to plexy --- flake.nix | 8 ++++---- hosts/{opti => plexy}/default.nix | 12 +++++++----- hosts/{opti => plexy}/disko-config.nix | 0 hosts/{opti => plexy}/hardware-configuration.nix | 0 hosts/{opti => plexy}/home.nix | 0 5 files changed, 11 insertions(+), 9 deletions(-) rename hosts/{opti => plexy}/default.nix (89%) rename hosts/{opti => plexy}/disko-config.nix (100%) rename hosts/{opti => plexy}/hardware-configuration.nix (100%) rename hosts/{opti => plexy}/home.nix (100%) diff --git a/flake.nix b/flake.nix index 44be13c..2fd1a43 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "Opti NixOS Flake"; + description = "Wekuz's NixOS config"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; @@ -17,15 +17,15 @@ outputs = { nixpkgs, home-manager, disko, ... }: { nixosConfigurations = { - opti = nixpkgs.lib.nixosSystem { + plexy = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ - ./hosts/opti + ./hosts/plexy home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.wekuz = import ./hosts/opti/home.nix; + home-manager.users.wekuz = import ./hosts/plexy/home.nix; } disko.nixosModules.disko ]; diff --git a/hosts/opti/default.nix b/hosts/plexy/default.nix similarity index 89% rename from hosts/opti/default.nix rename to hosts/plexy/default.nix index 8f0b8cb..bf88550 100644 --- a/hosts/opti/default.nix +++ b/hosts/plexy/default.nix @@ -36,16 +36,18 @@ time.timeZone = "Europe/Tallinn"; networking = { - hostName = "opti"; + hostName = "plexy"; networkmanager.enable = true; nftables.enable = true; firewall.allowedTCPPorts = [ 22 80 443 ]; }; - services.openssh = { - enable = true; - settings.PasswordAuthentication = false; - settings.PermitRootLogin = "no"; + services = { + openssh = { + enable = true; + settings.PasswordAuthentication = false; + settings.PermitRootLogin = "no"; + }; }; virtualisation = { diff --git a/hosts/opti/disko-config.nix b/hosts/plexy/disko-config.nix similarity index 100% rename from hosts/opti/disko-config.nix rename to hosts/plexy/disko-config.nix diff --git a/hosts/opti/hardware-configuration.nix b/hosts/plexy/hardware-configuration.nix similarity index 100% rename from hosts/opti/hardware-configuration.nix rename to hosts/plexy/hardware-configuration.nix diff --git a/hosts/opti/home.nix b/hosts/plexy/home.nix similarity index 100% rename from hosts/opti/home.nix rename to hosts/plexy/home.nix