feat(hosts): Added think pad

This commit is contained in:
Black_Raven committed 2026-07-05 20:08:48 +03:00
1 parent 94e118018b
commit fc37a1af2f
5 files changed
+57

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, pkgs-stable, pkgs-pinned, lib, inputs, ... }:
{
imports = [
./modules/grab.nix
./modules/swap.nix
(import ../modules/common.nix {
inherit lib;
inherit inputs;
hostname = "ThinkPad";
})
(import ../../user/common.nix {
inherit config;
inherit pkgs;
inherit pkgs-stable;
inherit pkgs-pinned;
inherit lib;
inherit inputs;
name = "kirill";
fullname = "Black Raven";
})
];
hardware.bluetooth.enable = true;
services.printing.enable = true;
}
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }: let
theme = pkgs.fetchFromGitHub {
owner = "Patato777";
repo = "dotfiles";
rev = "cc363921707807d7ad3e36b462f0df793a0fe18a";
hash = "sha256-fpXGFNrzbV6K9hoZRX4tGieTLzhpPeGm6wn8CF4OGow=";
};
in {
boot.loader.grub = {
gfxmodeEfi = "1920x1080";
theme = "${theme}/grub/themes/virtuaverse";
};
}
+11
View File
@@ -0,0 +1,11 @@
{
zramSwap = {
enable = true;
algorithm = "lz4";
memoryPercent = 30;
};
swapDevices = [
{ device = "/swapfile"; size = 4096; }
];
}
+1
View File
@@ -15,6 +15,7 @@
tldr
helix
bluetui
fastfetch
];
fonts = {