infrastructure/hosts/neodymium/configuration.nix

50 lines
1.4 KiB
Nix
Raw Normal View History

{ pkgs, ... }: {
imports = [ ./hardware-configuration.nix ./system ];
2022-12-23 14:28:14 +00:00
# shorter timeout for systemd services
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
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
};
users = {
# disable user creation/deletion
mutableUsers = false;
2022-12-19 22:35:54 +00:00
# damn, who's this handsome guy?
users.laurent = {
isNormalUser = true;
initialPassword = "laurent";
extraGroups = [ "wheel" "video" "docker" "adbusers" ];
shell = pkgs.zsh;
};
2022-12-20 11:40:34 +00:00
};
programs.zsh.enable = true;
2022-12-20 18:04:02 +00:00
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.laurent = ./home;
};
2022-12-20 10:33:21 +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. Its 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?
}