Updated Org Mode Following Forgejo Setup
This commit is contained in:
parent
c9914bf62e
commit
ee9ba47dea
1 changed files with 14 additions and 7 deletions
|
|
@ -47,6 +47,7 @@ Configuration for Crows nest, an automation platform featuring Portainer, Ansibl
|
|||
#(modulesPath + "/profiles/base.nix")
|
||||
../virtualization/podman-utils.nix
|
||||
../virtualization/nebula-sync-oci.nix
|
||||
../virtualization/forgejo.nix
|
||||
#+end_src
|
||||
** ISO Information
|
||||
#+NAME: iso-config
|
||||
|
|
@ -75,6 +76,7 @@ boot.growPartition = lib.mkDefault true;
|
|||
|
||||
# Workaround for busted ZFS kernels
|
||||
boot.supportedFilesystems = {
|
||||
cifs = true;
|
||||
zfs = lib.mkForce false;
|
||||
};
|
||||
#+end_src
|
||||
|
|
@ -95,7 +97,7 @@ networking.hostName = lib.mkDefault "crowsnest";
|
|||
networking.firewall.enable = true;
|
||||
|
||||
# Open firewall ports for Portainer
|
||||
networking.firewall.allowedTCPPorts = [80 443 2112 8000];
|
||||
networking.firewall.allowedTCPPorts = [80 443 2049 2112 3000 ];
|
||||
#+end_src
|
||||
|
||||
#+NAME: timey-wimey-stuff
|
||||
|
|
@ -110,6 +112,7 @@ zsh
|
|||
bat
|
||||
eza
|
||||
podman-tui
|
||||
cifs-utils
|
||||
#+end_src
|
||||
** Shell Configuration
|
||||
#+NAME: shell-configuration
|
||||
|
|
@ -137,6 +140,8 @@ programs.zsh.ohMyZsh = {
|
|||
** File System
|
||||
#+NAME: file-system
|
||||
#+begin_src nix :noweb-ref file-system
|
||||
# Allow users to run mount.cifs
|
||||
|
||||
# Default filesystem
|
||||
fileSystems."/" = lib.mkDefault {
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
|
|
@ -144,12 +149,14 @@ fileSystems."/" = lib.mkDefault {
|
|||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/gitlab" = {
|
||||
device = "//10.0.0.49/Gitlab";
|
||||
fsType = "cifs";
|
||||
# options = [ "username=eddie" "password=yoursambapassword" "x-systemd.automount" "noauto" ];
|
||||
options = [ "x-systemd.automount" "noauto" ];
|
||||
}
|
||||
# Forgejo mount
|
||||
fileSystems."/mnt/forgejo" = {
|
||||
device = "10.0.0.49:/Forgejo";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
#uid=992(forgejo) gid=990(forgejo) groups=990(forgejo)
|
||||
|
||||
#+end_src
|
||||
** System Information
|
||||
#+NAME: system-information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue