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 = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
|
|
@ -17,15 +17,15 @@
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, disko, ... }: {
|
outputs = { nixpkgs, home-manager, disko, ... }: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
opti = nixpkgs.lib.nixosSystem {
|
plexy = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/opti
|
./hosts/plexy
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = 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
|
disko.nixosModules.disko
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -36,16 +36,18 @@
|
||||||
time.timeZone = "Europe/Tallinn";
|
time.timeZone = "Europe/Tallinn";
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "opti";
|
hostName = "plexy";
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
firewall.allowedTCPPorts = [ 22 80 443 ];
|
firewall.allowedTCPPorts = [ 22 80 443 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openssh = {
|
services = {
|
||||||
enable = true;
|
openssh = {
|
||||||
settings.PasswordAuthentication = false;
|
enable = true;
|
||||||
settings.PermitRootLogin = "no";
|
settings.PasswordAuthentication = false;
|
||||||
|
settings.PermitRootLogin = "no";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
Loading…
Add table
Reference in a new issue