Remove old configurations
This commit is contained in:
parent
3e1b7adfc8
commit
23b41ac173
6 changed files with 23 additions and 40 deletions
|
|
@ -1,6 +1,10 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
with lib; {
|
||||
|
||||
age.secrets = {
|
||||
garage_bertof_odin_key = { file = ../../secrets/garage_bertof_odin_key.age; owner = "bertof"; };
|
||||
};
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
@ -93,19 +97,6 @@ with lib; {
|
|||
keyMap = "it";
|
||||
};
|
||||
|
||||
systemd.services.bertof-garage = {
|
||||
description = "Mount S3 bucket in bertof's home";
|
||||
wantedBy = [ "default.target" ];
|
||||
wants = [ "network.target" "network-online.target" ];
|
||||
after = [ "network.target" "network-online.target" "local-fs.target" ];
|
||||
serviceConfig = {
|
||||
AssertPathIsDirectory = "/home/bertof/s3";
|
||||
ExecStart = "${pkgs.s3fs}/bin/s3fs -f -d bertof /home/bertof/s3 -o passwd_file=/home/bertof/s3_secret,use_path_request_style,url=http://localhost:3900";
|
||||
Type = "exec";
|
||||
User = "bertof";
|
||||
};
|
||||
};
|
||||
|
||||
# X11 windowing system.
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue