2023-08-23 09:38:48 +03:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
let my = import ../..;
|
2023-08-23 09:38:48 +03:00
|
|
|
in {
|
2023-09-06 16:10:11 +03:00
|
|
|
imports = [ ./hardware.nix my.modules ];
|
2023-08-23 09:38:48 +03:00
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
2023-10-03 17:15:14 +03:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
google-chrome
|
|
|
|
zoom-us
|
|
|
|
whatsapp-for-linux
|
|
|
|
telegram-desktop
|
2024-05-07 18:37:02 +03:00
|
|
|
libreoffice-fresh
|
2023-10-03 17:15:14 +03:00
|
|
|
];
|
|
|
|
|
2023-08-23 09:38:48 +03:00
|
|
|
networking.hostName = "stella";
|
|
|
|
|
|
|
|
my.laptop.enable = true;
|
2023-09-01 07:13:07 +03:00
|
|
|
my.git.enable = true;
|
2023-08-23 09:38:48 +03:00
|
|
|
my.roles = {
|
2023-10-03 17:15:14 +03:00
|
|
|
design.enable = false;
|
|
|
|
devel.enable = false;
|
|
|
|
gaming.enable = false;
|
|
|
|
graphical.enable = false;
|
|
|
|
graphical.basic.enable = true;
|
2023-08-24 11:06:09 +03:00
|
|
|
latex.enable = false;
|
2023-08-27 19:26:12 +03:00
|
|
|
media-client.enable = true;
|
2023-10-03 17:15:14 +03:00
|
|
|
torrent.enable = false;
|
|
|
|
virtualisation.enable = false;
|
2023-12-17 10:57:18 +03:00
|
|
|
yggdrasil-client.enable = true;
|
|
|
|
yggdrasil-peer.enable = false;
|
2023-10-03 17:15:14 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
my.users = {
|
|
|
|
ivabus.enable = false;
|
|
|
|
user.enable = true;
|
2023-08-23 09:38:48 +03:00
|
|
|
};
|
|
|
|
|
2023-10-03 17:15:14 +03:00
|
|
|
my.features.secrets = false;
|
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
|
|
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
2023-08-23 09:38:48 +03:00
|
|
|
|
|
|
|
powerManagement = {
|
|
|
|
enable = true;
|
2023-10-03 17:15:14 +03:00
|
|
|
cpuFreqGovernor = "powersave";
|
2023-08-23 09:38:48 +03:00
|
|
|
};
|
|
|
|
|
2023-10-03 17:15:14 +03:00
|
|
|
# system is very slow without it
|
|
|
|
security.allowSimultaneousMultithreading = lib.mkForce true;
|
2023-08-23 10:36:32 +03:00
|
|
|
|
2023-08-23 09:38:48 +03:00
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|