2023-10-15 18:44:32 -04:00
|
|
|
{ lib, hyprland, pkgs, ... }:
|
2023-06-13 23:34:03 -04:00
|
|
|
|
|
|
|
{
|
2023-09-29 23:46:34 -04:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2023-10-15 17:27:57 -04:00
|
|
|
|
|
|
|
../../modules/audio.nix
|
|
|
|
../../modules/kmscon.nix
|
2023-10-15 17:40:57 -04:00
|
|
|
../../modules/plymouth.nix
|
2023-10-15 17:27:57 -04:00
|
|
|
../../modules/printer.nix
|
2023-10-15 17:44:47 -04:00
|
|
|
../../modules/proton-bridge.nix
|
2023-10-15 18:44:32 -04:00
|
|
|
../../modules/sddm-wayland.nix
|
2023-10-15 17:27:57 -04:00
|
|
|
|
2023-10-15 22:52:15 -04:00
|
|
|
./modules/security.nix
|
2023-09-29 23:46:34 -04:00
|
|
|
./home/main.nix
|
|
|
|
];
|
2023-06-13 23:34:03 -04:00
|
|
|
|
2023-09-17 15:53:56 -04:00
|
|
|
networking = {
|
2023-10-15 17:27:57 -04:00
|
|
|
useDHCP = lib.mkDefault true;
|
2023-09-17 15:53:56 -04:00
|
|
|
hostName = "wim";
|
2023-10-15 13:30:21 -04:00
|
|
|
networkmanager = {
|
|
|
|
enable = true;
|
|
|
|
wifi.backend = "wpa_supplicant";
|
|
|
|
};
|
2023-10-15 22:52:15 -04:00
|
|
|
firewall.enable = false;
|
2023-09-17 15:53:56 -04:00
|
|
|
};
|
2023-06-13 23:34:03 -04:00
|
|
|
|
2023-10-15 18:44:32 -04:00
|
|
|
services = {
|
|
|
|
xserver = {
|
|
|
|
displayManager = {
|
|
|
|
sessionPackages = [
|
|
|
|
hyprland.packages.x86_64-linux.default
|
|
|
|
];
|
|
|
|
defaultSession = "hyprland";
|
|
|
|
|
|
|
|
autoLogin = {
|
|
|
|
enable = true;
|
|
|
|
user = "matt";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
libinput.enable = true;
|
|
|
|
};
|
|
|
|
dbus.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
flatpak.enable = true;
|
|
|
|
tlp.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
wlr.enable = true;
|
|
|
|
extraPortals = [
|
|
|
|
pkgs.xdg-desktop-portal-gtk
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
# List packages in root user PATH
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
# for sddm
|
|
|
|
plasma5Packages.plasma-framework
|
|
|
|
plasma5Packages.plasma-workspace
|
|
|
|
|
|
|
|
qemu
|
|
|
|
wl-clipboard
|
|
|
|
alsa-utils
|
|
|
|
evtest
|
|
|
|
plasma5Packages.kio-admin
|
|
|
|
plasma5Packages.ksshaskpass
|
|
|
|
];
|
|
|
|
|
2023-06-13 23:34:03 -04:00
|
|
|
# Set your time zone.
|
2023-07-02 21:03:44 -04:00
|
|
|
time.timeZone = "America/Montreal";
|
2023-06-13 23:34:03 -04:00
|
|
|
|
|
|
|
# This value determines the NixOS release from which the default
|
|
|
|
# settings for stateful data, like file locations and database versions
|
|
|
|
# on your system were taken. It's perfectly fine and recommended to leave
|
|
|
|
# this value at the release version of the first install of this system.
|
|
|
|
# Before changing this value read the documentation for this option
|
|
|
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
|
|
system.stateVersion = "23.05"; # Did you read the comment?
|
|
|
|
}
|