Beeeeeeef is back for dinner

This commit is contained in:
Daniel Flanagan 2024-02-21 20:33:50 -06:00
parent d9fbabff3c
commit c2a246295b
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 30 additions and 25 deletions

View file

@ -100,9 +100,9 @@
# TODO: regular cron or something?
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
# maybe we can share somehow so things for nix-y systems and non-nix-y systems alike
# am I going to _have_ non-nix systems anymore?
enableBashIntegration = config.programs.bash.enable;
enableFishIntegration = config.programs.fish.enable;
enableZshIntegration = config.programs.zsh.enable;
};
}

View file

@ -297,11 +297,11 @@ in {
};
};
# TODO: regular cron or something?
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
# # TODO: regular cron or something?
# programs.nix-index = {
# enable = true;
# # enableFishIntegration = true;
# };
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -556,13 +556,18 @@ in {
# listenPort = 6767;
# };
services.samba-wsdd.enable = true;
services.samba-wsdd = {
enable = true;
};
services.samba = {
enable = true;
openFirewall = true;
securityType = "user";
package = pkgs.sambaFull;
# not needed since I don't think I use printer sharing?
# https://nixos.wiki/wiki/Samba#Printer_sharing
# package = pkgs.sambaFull; # broken last I checked in nixpkgs?
extraConfig = ''
workgroup = WORKGROUP
@ -576,10 +581,10 @@ in {
hosts deny = 0.0.0.0/0
guest account = nobody
map to guest = bad user
load printers = yes
printing = cups
printcap name = cups
'';
# load printers = yes
# printing = cups
# printcap name = cups
shares = {
libre = {
path = "/storage/libre";
@ -621,17 +626,17 @@ in {
"force user" = "daniel";
"force group" = "users";
};
printers = {
comment = "All Printers";
path = "/var/spool/samba";
public = "yes";
browseable = "yes";
# to allow user 'guest account' to print.
"guest ok" = "yes";
writable = "no";
printable = "yes";
"create mode" = 0700;
};
# printers = {
# comment = "All Printers";
# path = "/var/spool/samba";
# public = "yes";
# browseable = "yes";
# # to allow user 'guest account' to print.
# "guest ok" = "yes";
# writable = "no";
# printable = "yes";
# "create mode" = 0700;
# };
};
};