2023-05-28 22:12:48 +00:00
|
|
|
|
{ pkgs, hyprland, ... }: {
|
2023-05-16 19:10:41 +00:00
|
|
|
|
imports = [ ./hardware-configuration.nix ./system ];
|
2022-12-23 14:28:14 +00:00
|
|
|
|
|
2023-05-09 18:38:04 +00:00
|
|
|
|
# shorter timeout for systemd services
|
|
|
|
|
systemd.extraConfig = ''
|
|
|
|
|
DefaultTimeoutStopSec=10s
|
|
|
|
|
'';
|
|
|
|
|
|
2023-05-28 13:35:16 +00:00
|
|
|
|
# enable thermald
|
|
|
|
|
services.thermald.enable = true;
|
|
|
|
|
|
2023-03-19 13:27:25 +00:00
|
|
|
|
# udev
|
|
|
|
|
services.udev.packages = [ pkgs.android-udev-rules ];
|
|
|
|
|
|
2022-12-19 22:35:54 +00:00
|
|
|
|
services.dbus.enable = true;
|
|
|
|
|
xdg.portal = {
|
|
|
|
|
enable = true;
|
|
|
|
|
wlr.enable = true;
|
2022-12-21 19:29:15 +00:00
|
|
|
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
|
2022-12-19 22:35:54 +00:00
|
|
|
|
};
|
|
|
|
|
|
2023-05-16 19:10:41 +00:00
|
|
|
|
users = {
|
|
|
|
|
# disable user creation/deletion
|
|
|
|
|
mutableUsers = false;
|
2022-12-19 22:35:54 +00:00
|
|
|
|
|
2023-05-28 22:12:48 +00:00
|
|
|
|
# absolute gigachad
|
2023-05-16 19:10:41 +00:00
|
|
|
|
users.laurent = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
initialPassword = "laurent";
|
|
|
|
|
extraGroups = [ "wheel" "video" "docker" "adbusers" ];
|
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
};
|
2022-12-20 11:40:34 +00:00
|
|
|
|
};
|
2023-04-08 12:50:25 +00:00
|
|
|
|
programs.zsh.enable = true;
|
2022-12-20 18:04:02 +00:00
|
|
|
|
|
2023-05-27 16:11:03 +00:00
|
|
|
|
home-manager = {
|
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
|
useUserPackages = true;
|
2023-05-28 22:12:48 +00:00
|
|
|
|
extraSpecialArgs = { inherit hyprland; };
|
2023-05-27 16:11:03 +00:00
|
|
|
|
users.laurent = ./home;
|
|
|
|
|
};
|
2022-12-20 10:33:21 +00:00
|
|
|
|
|
2023-03-14 13:11:04 +00:00
|
|
|
|
# enable gnome virtual file system
|
|
|
|
|
services.gvfs.enable = true;
|
|
|
|
|
|
2022-12-19 22:35:54 +00: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 = "22.11"; # Did you read the comment?
|
|
|
|
|
}
|