Merge branch 'main' of https://github.com/Lillian-Violet/NixOS-Configuration
This commit is contained in:
commit
9b978acc15
5 changed files with 228 additions and 10 deletions
|
@ -58,6 +58,8 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
age
|
||||
alejandra
|
||||
docker
|
||||
docker-compose
|
||||
git-filter-repo
|
||||
home-manager
|
||||
input-leap
|
||||
|
@ -159,12 +161,30 @@
|
|||
boot.loader.systemd-boot.configurationLimit = 3;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
users.groups.mssql = {};
|
||||
|
||||
users.users = {
|
||||
lillian = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf"];
|
||||
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf" "docker"];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
mssql = {
|
||||
isSystemUser = true;
|
||||
group = "mssql";
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers = {
|
||||
mssql = {
|
||||
image = "mcr.microsoft.com/mssql/server:2022-latest";
|
||||
ports = ["1433:1433"];
|
||||
environment = {
|
||||
"ACCEPT_EULA" = "Y";
|
||||
"MSSQL_SA_PASSWORD" = "EbKihNUHg6S$V$qchADFmw!JCm##toc3";
|
||||
};
|
||||
volumes = ["/home/lillian/docker/mssql:/data"];
|
||||
};
|
||||
};
|
||||
|
||||
# Enable completion of system packages by zsh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue