dotfiles/machines/futomaki/default.nix

59 lines
1.2 KiB
Nix
Raw Normal View History

2023-05-14 09:27:30 +02:00
{pkgs, ...}: let
mainUser = "winston";
2023-02-10 07:46:37 +01:00
in {
imports = [
./hardware.nix
../common/linux
];
networking = {
hostName = "futomaki";
networkmanager.enable = true;
firewall.enable = true;
};
time.timeZone = "Europe/Vienna";
i18n.defaultLocale = "en_US.UTF-8";
2023-02-10 07:46:37 +01:00
services = {
blueman.enable = true;
openssh.enable = true;
pcscd.enable = true;
};
virtualisation.docker.enable = true;
2023-03-17 03:47:27 +01:00
virtualisation.libvirtd.enable = true;
users.users."${mainUser}" = {
2023-03-17 03:47:27 +01:00
extraGroups = ["docker" "libvirtd" "wheel"];
isNormalUser = true;
2023-02-10 07:46:37 +01:00
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILm0O46zW/XfVOSwz0okRWYeOAg+wCVkCtCAoVTpZsOh"];
shell = pkgs.zsh;
};
system.stateVersion = "22.11";
2023-03-16 13:02:58 +01:00
2023-05-13 07:04:20 +02:00
environment.systemPackages = with pkgs; [
(discord.override {withOpenASAR = true;})
cabextract
2023-05-18 15:19:31 +02:00
gnome.gnome-boxes
2023-05-13 07:04:20 +02:00
heroic
lutris
nur.repos.nekowinston.discover-overlay
wineWowPackages.waylandFull
2023-05-13 07:04:20 +02:00
winetricks
];
2023-03-16 13:02:58 +01:00
programs = {
gamemode = {
enable = true;
settings = {
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
};
}