mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-09 15:16:26 +00:00
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{ username, ... }: {
|
|
imports = [
|
|
../../../desktop/audio-recorder.nix
|
|
../../../desktop/celluloid.nix
|
|
../../../desktop/dconf-editor.nix
|
|
../../../desktop/gnome-sound-recorder.nix
|
|
../../../desktop/tilix.nix
|
|
../../../desktop/emote.nix
|
|
];
|
|
|
|
home = {
|
|
file."Quickemu/nixos-console.conf".text = ''
|
|
#!/run/current-system/sw/bin/quickemu --vm
|
|
guest_os="linux"
|
|
disk_img="nixos-console/disk.qcow2"
|
|
disk_size="96G"
|
|
iso="nixos-console/nixos.iso"
|
|
'';
|
|
file."Quickemu/nixos-desktop.conf".text = ''
|
|
#!/run/current-system/sw/bin/quickemu --vm
|
|
guest_os="linux"
|
|
disk_img="nixos-desktop/disk.qcow2"
|
|
disk_size="96G"
|
|
iso="nixos-desktop/nixos.iso"
|
|
'';
|
|
file."Quickemu/nixos-nuc.conf".text = ''
|
|
#!/run/current-system/sw/bin/quickemu --vm
|
|
guest_os="linux"
|
|
disk_img="nixos-nuc/disk.qcow2"
|
|
disk_size="96G"
|
|
iso="nixos-nuc/nixos.iso"
|
|
'';
|
|
};
|
|
|
|
systemd.user.tmpfiles.rules = [
|
|
"d /home/${username}/ws 0755 ${username} users - -"
|
|
];
|
|
}
|