igor: Enable mysql port
This commit is contained in:
parent
8342f5a72b
commit
499ff0ef62
2 changed files with 39 additions and 32 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
@ -24,7 +25,7 @@
|
||||||
config.boot.loader.grub.efiInstallAsRemovable = true;
|
config.boot.loader.grub.efiInstallAsRemovable = true;
|
||||||
#config.boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
#config.boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
# Define on which hard drive you want to install Grub.
|
# Define on which hard drive you want to install Grub.
|
||||||
config.boot.loader.grub.device = "/dev/sdb"; # or "nodev" for efi only
|
config.boot.loader.grub.device = "/dev/disk/by-id/ata-HGST_HTS725050A7E630_TF655AY92SM3XL"; # or "nodev" for efi only
|
||||||
|
|
||||||
config.security.sudo.wheelNeedsPassword = false;
|
config.security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
|
|
@ -51,6 +52,9 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
|
firewall.allowedTCPPorts = [
|
||||||
|
config.services.mysql.settings.mysqld.port
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
config.security.sudo = {
|
config.security.sudo = {
|
||||||
|
|
@ -97,16 +101,18 @@
|
||||||
config.services.libinput.enable = true;
|
config.services.libinput.enable = true;
|
||||||
|
|
||||||
config.services.mysql = {
|
config.services.mysql = {
|
||||||
enable = false;
|
enable = true;
|
||||||
package = pkgs.mariadb;
|
package = pkgs.mariadb;
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "mediathekview";
|
name = "mediathekview";
|
||||||
ensurePermissions = {
|
ensurePermissions = {
|
||||||
"mediathekview.*" = "ALL PERMISSIONS";
|
"mediathekview.*" = "ALL PRIVILEGES";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
ensureDatabases = [ "mediathekview" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
config.programs.firefox.enable = true;
|
config.programs.firefox.enable = true;
|
||||||
|
|
@ -126,6 +132,7 @@
|
||||||
waybar
|
waybar
|
||||||
hyprpaper
|
hyprpaper
|
||||||
wofi
|
wofi
|
||||||
|
tmux
|
||||||
];
|
];
|
||||||
|
|
||||||
config.programs.hyprland = {
|
config.programs.hyprland = {
|
||||||
|
|
|
||||||
|
|
@ -26,35 +26,35 @@
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
# fileSystems."/" =
|
# fileSystems."/" =
|
||||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
# fsType = "btrfs";
|
# fsType = "btrfs";
|
||||||
# options = [ "subvol=rootfs" ];
|
# options = [ "subvol=rootfs" ];
|
||||||
# };
|
# };
|
||||||
|
#
|
||||||
# fileSystems."/.swapvol" =
|
# fileSystems."/.swapvol" =
|
||||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
# fsType = "btrfs";
|
# fsType = "btrfs";
|
||||||
# options = [ "subvol=swap" ];
|
# options = [ "subvol=swap" ];
|
||||||
# };
|
# };
|
||||||
|
#
|
||||||
# fileSystems."/boot" =
|
# fileSystems."/boot" =
|
||||||
# { device = "/dev/disk/by-uuid/2EDA-47FD";
|
# { device = "/dev/disk/by-uuid/2EDA-47FD";
|
||||||
# fsType = "vfat";
|
# fsType = "vfat";
|
||||||
# options = [ "fmask=0022" "dmask=0022" ];
|
# options = [ "fmask=0022" "dmask=0022" ];
|
||||||
# };
|
# };
|
||||||
|
#
|
||||||
# fileSystems."/home" =
|
# fileSystems."/home" =
|
||||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
# fsType = "btrfs";
|
# fsType = "btrfs";
|
||||||
# options = [ "subvol=home" ];
|
# options = [ "subvol=home" ];
|
||||||
# };
|
# };
|
||||||
|
#
|
||||||
# fileSystems."/nix" =
|
# fileSystems."/nix" =
|
||||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||||
# fsType = "btrfs";
|
# fsType = "btrfs";
|
||||||
# options = [ "subvol=nix" ];
|
# options = [ "subvol=nix" ];
|
||||||
# };
|
# };
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue