Switch to nixfmt

This commit is contained in:
Filippo Berto 2023-01-19 19:53:17 +01:00
parent 44794e2c3d
commit 5b974a203b
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
63 changed files with 990 additions and 946 deletions

View file

@ -126,19 +126,17 @@ with lib; {
notifications.x11.enable = true;
};
snapper = {
configs =
let
common = {
extraConfig = ''
ALLOW_USERS="bertof"
TIMELINE_CREATE=yes
TIMELINE_CLEANUP=yes
'';
};
in
{
bertof_home = recursiveUpdate common { subvolume = "/home/bertof"; };
configs = let
common = {
extraConfig = ''
ALLOW_USERS="bertof"
TIMELINE_CREATE=yes
TIMELINE_CLEANUP=yes
'';
};
in {
bertof_home = recursiveUpdate common { subvolume = "/home/bertof"; };
};
};
thermald.enable = true;
xserver = {
@ -158,7 +156,8 @@ with lib; {
videoDrivers = [ "nvidia" ];
layout = "us,it";
xkbOptions = "eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl,grp:menu_toggle";
xkbOptions =
"eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl,grp:menu_toggle";
xrandrHeads = [{
primary = true;
output = "DP-4";

View file

@ -55,7 +55,10 @@
swapDevices = [
{ device = "/dev/disk/by-uuid/dee188e4-4ff8-417c-9419-b7f00ecb9989"; }
{ device = "/swapfile"; size = 1024 * 32; }
{
device = "/swapfile";
size = 1024 * 32;
}
];
}