2024-04-09 20:45:15 +00:00
|
|
|
|
# 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, username, inputs, ... }:
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
imports =
|
|
|
|
|
|
[ # Include the results of the hardware scan.
|
|
|
|
|
|
./hardware-configuration.nix
|
2024-08-28 16:08:36 +00:00
|
|
|
|
./nvidia.nix
|
2024-04-09 20:45:15 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
# Bootloader.
|
|
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
|
|
boot.loader.grub.device = "/dev/nvme0n1";
|
|
|
|
|
|
boot.loader.grub.useOSProber = true;
|
|
|
|
|
|
|
|
|
|
|
|
environment.sessionVariables = {
|
|
|
|
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
2024-08-28 16:08:36 +00:00
|
|
|
|
NIXOS_OZONE_WL = "1";
|
2024-04-09 20:45:15 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
programs.hyprland.enable = true;
|
|
|
|
|
|
programs.hyprland.xwayland.enable = true;
|
2024-08-28 16:08:36 +00:00
|
|
|
|
|
|
|
|
|
|
services.automatic-timezoned.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
fonts.packages = with pkgs; [
|
|
|
|
|
|
(nerdfonts.override { fonts = [ "Hack" ]; })
|
|
|
|
|
|
];
|
2024-04-09 20:45:15 +00:00
|
|
|
|
|
|
|
|
|
|
home-manager.users.${username}.imports = [
|
|
|
|
|
|
./home-manager.nix
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = [
|
|
|
|
|
|
pkgs.gtk3
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
networking.wireless.enable = true;
|
|
|
|
|
|
networking.wireless.networks = {
|
|
|
|
|
|
Brother = {
|
|
|
|
|
|
psk = "fireproof";
|
|
|
|
|
|
};
|
2024-08-28 16:08:36 +00:00
|
|
|
|
"Drakenvej12-5G-1" = {
|
|
|
|
|
|
psk = "Eg9928nt.";
|
|
|
|
|
|
};
|
2024-04-09 20:45:15 +00:00
|
|
|
|
};
|
|
|
|
|
|
}
|