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,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -24,7 +25,7 @@
|
|||
config.boot.loader.grub.efiInstallAsRemovable = true;
|
||||
#config.boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
# 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;
|
||||
|
||||
|
|
@ -51,6 +52,9 @@
|
|||
];
|
||||
|
||||
firewall.enable = true;
|
||||
firewall.allowedTCPPorts = [
|
||||
config.services.mysql.settings.mysqld.port
|
||||
];
|
||||
};
|
||||
|
||||
config.security.sudo = {
|
||||
|
|
@ -97,16 +101,18 @@
|
|||
config.services.libinput.enable = true;
|
||||
|
||||
config.services.mysql = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
package = pkgs.mariadb;
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "mediathekview";
|
||||
ensurePermissions = {
|
||||
"mediathekview.*" = "ALL PERMISSIONS";
|
||||
"mediathekview.*" = "ALL PRIVILEGES";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
ensureDatabases = [ "mediathekview" ];
|
||||
};
|
||||
|
||||
config.programs.firefox.enable = true;
|
||||
|
|
@ -126,6 +132,7 @@
|
|||
waybar
|
||||
hyprpaper
|
||||
wofi
|
||||
tmux
|
||||
];
|
||||
|
||||
config.programs.hyprland = {
|
||||
|
|
|
|||
|
|
@ -26,35 +26,35 @@
|
|||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# fileSystems."/" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=rootfs" ];
|
||||
# };
|
||||
|
||||
# fileSystems."/.swapvol" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=swap" ];
|
||||
# };
|
||||
|
||||
# fileSystems."/boot" =
|
||||
# { device = "/dev/disk/by-uuid/2EDA-47FD";
|
||||
# fsType = "vfat";
|
||||
# options = [ "fmask=0022" "dmask=0022" ];
|
||||
# };
|
||||
|
||||
# fileSystems."/home" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=home" ];
|
||||
# };
|
||||
|
||||
# fileSystems."/nix" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=nix" ];
|
||||
# };
|
||||
# fileSystems."/" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=rootfs" ];
|
||||
# };
|
||||
#
|
||||
# fileSystems."/.swapvol" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=swap" ];
|
||||
# };
|
||||
#
|
||||
# fileSystems."/boot" =
|
||||
# { device = "/dev/disk/by-uuid/2EDA-47FD";
|
||||
# fsType = "vfat";
|
||||
# options = [ "fmask=0022" "dmask=0022" ];
|
||||
# };
|
||||
#
|
||||
# fileSystems."/home" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=home" ];
|
||||
# };
|
||||
#
|
||||
# fileSystems."/nix" =
|
||||
# { device = "/dev/disk/by-uuid/e7720a57-f96a-4f37-a2ad-43527868418c";
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=nix" ];
|
||||
# };
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue