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:
5
nixos/modules/bluetooth.nix
Normal file
5
nixos/modules/bluetooth.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
services.blueman.enable = true;
|
||||
}
|
4
nixos/modules/boot.nix
Normal file
4
nixos/modules/boot.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
}
|
12
nixos/modules/env.nix
Normal file
12
nixos/modules/env.nix
Normal 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
8
nixos/modules/zram.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "lz4";
|
||||
memoryPercent = 100;
|
||||
priority = 999;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user