dotfiles/nixos/boxes/thinky/default.nix

35 lines
729 B
Nix
Raw Normal View History

2023-08-12 16:33:17 +01:00
{ config, pkgs, lib,... }: {
2021-09-11 20:32:23 +01:00
networking.hostName = "thinky";
imports = [
./hardware-configuration.nix
2022-03-04 09:21:04 +00:00
../../backups.nix
2021-09-11 20:32:23 +01:00
../../boot.nix
../../gfx-intel.nix
2022-03-04 09:21:04 +00:00
../../git
../../gui
2021-09-11 20:32:23 +01:00
../../i3
2022-03-04 09:21:04 +00:00
../../mercurial
2023-06-19 21:34:51 +01:00
../../vim
../../zsh
2021-09-11 20:32:23 +01:00
];
time.timeZone = "Europe/Warsaw";
2021-09-18 10:55:15 +01:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2022-03-04 09:12:08 +00:00
hardware.trackpoint.enable = true;
2021-09-11 20:32:23 +01:00
services.thermald.enable = true;
2021-09-18 10:31:15 +01:00
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
};
2023-08-12 16:33:17 +01:00
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"spotify"
];
2023-06-19 21:34:51 +01:00
home-manager.users.cyryl = { ... }: {
imports = [ ../../home-manager/programs/termite.nix ];
2021-09-18 10:18:35 +01:00
};
2021-09-11 20:32:23 +01:00
}