-{ pkgs, lib, config, hostName, ... }:
-let inherit (config.users) users; in
+{ config, inputs, ... }:
{
-services.xserver = {
- enable = true;
- layout = "fr";
- xkbOptions = "eurosign:e";
- libinput.enable = true;
- 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;
+ imports = [
+ (inputs.julm-nix + "/nixos/profiles/printing.nix")
+ (inputs.julm-nix + "/nixos/profiles/graphical.nix")
+ ];
+ services.xserver = {
+ enable = true;
+ displayManager = {
+ defaultSession = "home-manager";
+ #defaultSession = "none+xmonad";
+ autoLogin.user = config.users.users."julm".name;
};
};
-};
-sound.enable = true;
-hardware.pulseaudio.enable = true;
-/*
-programs.x2goserver = {
- enable = true;
-};
-environment.sessionVariables = {
- PATH = [ "/usr/local/bin" ];
-};
-services.xserver.displayManager.xserverArgs = [ "+iglx" ];
-*/
+ services.x2goserver.enable = true;
+ /*
+ environment.sessionVariables = {
+ PATH = [ "/usr/local/bin" ];
+ };
+ services.xserver.displayManager.xserverArgs = [ "+iglx" ];
+ */
}