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