Rename opti to plexy
This commit is contained in:
parent
edf361f212
commit
a8dd1956dd
5 changed files with 11 additions and 9 deletions
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -36,17 +36,19 @@
|
|||
time.timeZone = "Europe/Tallinn";
|
||||
|
||||
networking = {
|
||||
hostName = "opti";
|
||||
hostName = "plexy";
|
||||
networkmanager.enable = true;
|
||||
nftables.enable = true;
|
||||
firewall.allowedTCPPorts = [ 22 80 443 ];
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
docker = {
|
||||
Loading…
Add table
Reference in a new issue