2024-04-21 14:15:40 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
system,
|
|
|
|
...
|
|
|
|
}: {
|
2023-04-07 21:48:47 +01:00
|
|
|
networking.hostName = "foryog";
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../backups.nix
|
|
|
|
../../boot.nix
|
|
|
|
../../git
|
2024-04-01 10:18:01 +01:00
|
|
|
../../gnome
|
2024-04-05 15:16:53 +01:00
|
|
|
../../gui
|
2024-04-21 14:15:40 +01:00
|
|
|
../../helix
|
2024-05-11 10:18:13 +01:00
|
|
|
../../libvirt.nix
|
2024-04-05 15:16:53 +01:00
|
|
|
../../mercurial
|
2023-06-19 21:34:51 +01:00
|
|
|
../../vim
|
|
|
|
../../zsh
|
2023-04-07 21:48:47 +01:00
|
|
|
];
|
|
|
|
|
2024-04-21 14:15:40 +01:00
|
|
|
fileSystems."/" = {options = ["compress=zstd"];};
|
2023-04-07 21:48:47 +01:00
|
|
|
|
2023-07-03 18:25:15 +01:00
|
|
|
services.restic.backups.home-to-b2 = {
|
2023-08-13 17:00:41 +01:00
|
|
|
repository = lib.mkForce "b2:cyplo-restic-foureighty:/";
|
2023-07-03 18:25:15 +01:00
|
|
|
};
|
2024-04-27 11:33:38 +01:00
|
|
|
|
2024-05-17 11:40:20 +01:00
|
|
|
environment.systemPackages = with inputs.nixpkgs-master.legacyPackages."${system}"; [miraclecast];
|
2024-04-27 11:33:38 +01:00
|
|
|
boot = {
|
|
|
|
kernelParams = ["initcall_debug" ''dyndbg="file suspend.c +p"'' "no_console_suspend"];
|
|
|
|
tmp.cleanOnBoot = true;
|
2024-05-07 17:41:56 +01:00
|
|
|
binfmt.emulatedSystems = ["armv7l-linux" "aarch64-linux"];
|
2024-04-27 11:33:38 +01:00
|
|
|
plymouth = {
|
|
|
|
enable = true;
|
|
|
|
logo = ./boot.png;
|
|
|
|
};
|
2023-04-07 21:48:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
zramSwap = {
|
|
|
|
enable = true;
|
|
|
|
algorithm = "zstd";
|
|
|
|
memoryPercent = 75;
|
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/London";
|
|
|
|
|
2024-04-27 11:33:38 +01:00
|
|
|
hardware = {
|
|
|
|
trackpoint.enable = true;
|
|
|
|
keyboard.qmk.enable = true;
|
|
|
|
opengl.extraPackages = with pkgs; [libva];
|
|
|
|
};
|
|
|
|
|
2024-04-21 14:15:40 +01:00
|
|
|
services.udev.packages = [pkgs.qmk-udev-rules];
|
2023-04-07 21:48:47 +01:00
|
|
|
programs.ccache.enable = true;
|
|
|
|
programs.steam.enable = true;
|
|
|
|
|
2024-04-21 14:15:40 +01:00
|
|
|
home-manager.users.cyryl = {...}: {
|
|
|
|
imports = [
|
|
|
|
../../home-manager/programs/kitty.nix
|
|
|
|
];
|
2023-12-03 13:52:12 +00:00
|
|
|
home.packages =
|
2024-11-03 13:44:24 +00:00
|
|
|
(with inputs.nixpkgs-master.legacyPackages."${system}"; [zed-editor])
|
2024-04-21 14:15:40 +01:00
|
|
|
++ (with pkgs; [lutris])
|
|
|
|
++ (with inputs.endless-sky.legacyPackages."${system}"; [endless-sky]);
|
2023-04-07 21:48:47 +01:00
|
|
|
};
|
|
|
|
}
|