-{ pkgs, lib, config, hostName, ... }:
-let inherit (config.users) users; in
+{ pkgs, lib, config, inputs, ... }:
{
+imports = [
+ (inputs.julm-nix + "/nixos/profiles/printing.nix")
+ (inputs.julm-nix + "/nixos/profiles/graphical.nix")
+];
services.xserver = {
enable = true;
- layout = "fr,us";
+ layout = "fr,us(altgr-intl)";
xkbOptions = "eurosign:e, compose:menu, grp:alt_space_toggle";
- libinput.enable = true;
- exportConfiguration = true; # link /usr/share/X11/ properly
- desktopManager = {
- session = [
- # Let the session be generated by home-manager
- { name = "home-manager";
- start = ''
- ${pkgs.runtimeShell} $HOME/.hm-xsession &
- waitPID=$!
- '';
- }
- ];
- };
displayManager = {
defaultSession = "home-manager";
#defaultSession = "none+xmonad";
- autoLogin = {
- enable = true;
- user = users.julm.name;
- };
+ autoLogin.user = config.users.users."julm".name;
};
};
-environment.systemPackages = [
- pkgs.arandr
-];
-console.useXkbConfig = true;
-sound.enable = true;
-hardware.pulseaudio.enable = true;
-programs.x2goserver = {
- enable = true;
-};
+services.x2goserver.enable = true;
/*
environment.sessionVariables = {
PATH = [ "/usr/local/bin" ];