mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
15 lines
822 B
Nix
15 lines
822 B
Nix
|
{ config, desktop, lib, pkgs, username, ... }: {
|
||
|
config.environment.systemPackages = with pkgs; [
|
||
|
gparted
|
||
|
];
|
||
|
config.systemd.tmpfiles.rules = [
|
||
|
"d /home/${username}/Desktop 0755 ${username} users"
|
||
|
"L+ /home/${username}/Desktop/gparted.desktop - - - - ${pkgs.gparted}/share/applications/gparted.desktop"
|
||
|
"L+ /home/${username}/Desktop/io.elementary.terminal.desktop - - - - ${pkgs.pantheon.elementary-terminal}/share/applications/io.elementary.terminal.desktop"
|
||
|
"L+ /home/${username}/Desktop/io.calamares.calamares.desktop - - - - ${pkgs.calamares-nixos}/share/applications/io.calamares.calamares.desktop"
|
||
|
];
|
||
|
config.isoImage.edition = lib.mkForce "${desktop}";
|
||
|
config.services.xserver.displayManager.autoLogin.user = "${username}";
|
||
|
config.services.kmscon.autologinUser = lib.mkForce null;
|
||
|
}
|