2023-10-18 12:31:57 -04:00
|
|
|
{ hyprland, pkgs, ... }: {
|
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
|
|
|
];
|
2023-06-13 23:34:03 -04:00
|
|
|
|
2023-10-18 12:31:57 -04:00
|
|
|
users.users.matt = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" "input" "uinput" "adm" "mlocate" "video" "libvirtd" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
|
|
|
|
# TODO: use hm for tmux
|
|
|
|
home-manager.users = {
|
|
|
|
matt = {
|
|
|
|
imports = [
|
|
|
|
./home/theme.nix
|
|
|
|
./home/hyprland.nix
|
|
|
|
./home/packages.nix
|
|
|
|
|
|
|
|
../../modules/alacritty.nix
|
|
|
|
../../modules/dconf.nix
|
|
|
|
../../modules/firefox
|
|
|
|
../../modules/wofi
|
|
|
|
|
|
|
|
./modules/dotfiles.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# No touchy
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-17 15:53:56 -04:00
|
|
|
networking = {
|
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
2023-10-18 12:31:57 -04:00
|
|
|
# No touchy
|
|
|
|
system.stateVersion = "23.05";
|
2023-06-13 23:34:03 -04:00
|
|
|
}
|