Nvim and format

This commit is contained in:
2023-07-20 00:26:04 +01:00
parent 586df7389b
commit e1dfd3193e
7 changed files with 43 additions and 34 deletions

View File

@@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
@@ -13,13 +17,13 @@
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/1abab84b-47d7-45bb-b31d-e5668f545d7f";
fileSystems."/" = {
device = "/dev/disk/by-uuid/1abab84b-47d7-45bb-b31d-e5668f545d7f";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1F77-6B2D";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/1F77-6B2D";
fsType = "vfat";
};

View File

@@ -39,7 +39,6 @@
backupPrepareCommand = ''
${pkgs.postgresql_13}/bin/pg_dumpall --clean -U postgres | ${pkgs.zstd}/bin/zstd --rsyncable > /var/backup/pgdump.sql.zst
'';
};
};
}

View File

@@ -14,12 +14,14 @@
}));
element = pkgs.element-web.override {
conf = {
conf =
{
default_server_config."m.homeserver" = {
"base_url" = "https://broccoli.town";
"server_name" = "broccoli.town";
};
} // catppuccin;
}
// catppuccin;
};
in {
enable = true;

View File

@@ -30,5 +30,4 @@
};
};
};
};
}

View File

@@ -1,5 +1,4 @@
{pkgs, ...}:
{
{pkgs, ...}: {
home.packages = with pkgs; [
tofi
];

View File

@@ -1,9 +1,15 @@
{...}: {
{pkgs, ...}: let
nvim = pkgs.fetchgit {
url = "https://git.broccoli.town/dp/nvim";
sha256 = "sha256-yhbgfKarel8ACIWvIw2fM1qFoZnH8O+5+oNVnMZwdjo=";
};
in {
programs.neovim.enable = true;
home.file = {
".config/nvim" = {
source = ./nvim;
recursive = true;
source = nvim;
};
};
}