chore: fix formatting and add treefmt
This commit is contained in:
parent
a26418c9c3
commit
5d55e620da
10 changed files with 49 additions and 36 deletions
|
@ -21,15 +21,14 @@ let
|
|||
nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
||||
modules =
|
||||
[
|
||||
{
|
||||
nixpkgs.overlays = nixpkgs.lib.attrValues self.overlays;
|
||||
}
|
||||
]
|
||||
++ (nixpkgs.lib.attrValues self.nixosModules)
|
||||
++ [ agenix.nixosModules.age ]
|
||||
++ extraModules;
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.overlays = nixpkgs.lib.attrValues self.overlays;
|
||||
}
|
||||
]
|
||||
++ (nixpkgs.lib.attrValues self.nixosModules)
|
||||
++ [ agenix.nixosModules.age ]
|
||||
++ extraModules;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
@ -124,7 +129,7 @@
|
|||
configs = {
|
||||
home = {
|
||||
SUBVOLUME = "/home/dadada";
|
||||
ALLOW_USERS= ["dadada"];
|
||||
ALLOW_USERS = [ "dadada" ];
|
||||
TIMELINE_CREATE = true;
|
||||
TIMELINE_CLEANUP = true;
|
||||
TIMELINE_MIN_AGE = "1800";
|
||||
|
@ -213,7 +218,7 @@
|
|||
# owner = "paperless";
|
||||
# };
|
||||
# };
|
||||
|
||||
|
||||
# Create compressing swap space in RAM
|
||||
zramSwap.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue