Skip to content
Snippets Groups Projects
Commit eb87052f authored by Samuel Laurén's avatar Samuel Laurén
Browse files

git -> gitMinimal

parent 0bbae613
No related branches found
No related tags found
No related merge requests found
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
imports = [ imports = [
"./services/coffeecam.nix" "./services/coffeecam.nix"
...@@ -42,17 +43,20 @@ ...@@ -42,17 +43,20 @@
time.timeZone = "Europe/Helsinki"; time.timeZone = "Europe/Helsinki";
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git gitMinimal
]; ];
programs.bash.enableCompletion = true; programs.bash.enableCompletion = true;
services.openssh = { services.openssh = {
enable = true; enable = true;
passwordAuthentication = false; passwordAuthentication = false;
}; };
services.logind.lidSwitch = "ignore"; services.logind = {
services.logind.lidSwitchDocked = "ignore"; lidSwitch = "ignore";
lidSwitchDocked = "ignore";
};
users.extraUsers.coffeecam = { users.extraUsers.coffeecam = {
isNormalUser = true; isNormalUser = true;
......
...@@ -30,6 +30,7 @@ in { ...@@ -30,6 +30,7 @@ in {
default = "/dev/shm/coffeecam-static.jpg"; default = "/dev/shm/coffeecam-static.jpg";
} }
# Are these options in any way sensible
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.ffmpeg pkgs.dejavu_fonts ]; environment.systemPackages = [ pkgs.ffmpeg pkgs.dejavu_fonts ];
systemd.user.services.coffeecam = { systemd.user.services.coffeecam = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment