mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 17:31:58 +01:00
6f63c57842
Signed-off-by: main <magic_rb@redalder.org>
43 lines
878 B
Nix
43 lines
878 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
lib,
|
|
roots,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; {
|
|
imports = [
|
|
(roots.nixos + "/modules")
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.serokell-nix.nixosModules.acme-sh
|
|
];
|
|
|
|
home-manager.users."main" = {config, ...}: {
|
|
imports = [(roots.home-manager + "/modules")];
|
|
magic_rb.programs.bash.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
htop
|
|
];
|
|
};
|
|
|
|
zramSwap.enable = true;
|
|
|
|
magic_rb = {
|
|
flakes.enable = true;
|
|
sshdEmacs.enable = true;
|
|
vpsRemoteAccess = {
|
|
enable = true;
|
|
trustedWheel = true;
|
|
};
|
|
};
|
|
|
|
networking.firewall.enable = true;
|
|
|
|
time.timeZone = "Europe/Bratislava";
|
|
security.pki.certificates =
|
|
singleton (builtins.readFile (roots.flake + "/redalder.org.crt"));
|
|
}
|