1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

here we go again

This commit is contained in:
andrey_varnavskiy
2024-11-23 12:01:38 +05:00
commit ae8789fac5
13 changed files with 729 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
}

4
nixos/modules/boot.nix Normal file
View File

@@ -0,0 +1,4 @@
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}

12
nixos/modules/env.nix Normal file
View File

@@ -0,0 +1,12 @@
{
environment.sessionVariables = rec {
TERMINAL = "alacritty";
EDITOR = "nvim";
# Hint Electron apps to use Wayland
# NIXOS_OZONE_WL = "1";
XDG_BIN_HOME = "$HOME/.local/bin";
PATH = [
"${XDG_BIN_HOME}"
];
};
}

8
nixos/modules/zram.nix Normal file
View File

@@ -0,0 +1,8 @@
{
zramSwap = {
enable = true;
algorithm = "lz4";
memoryPercent = 100;
priority = 999;
};
}