Compare commits

..

No commits in common. "70a10c6b73704475780dccc317e40738ef94b5fd" and "7a4283ba3a9be1f2813fa768fecde817b03577e4" have entirely different histories.

5 changed files with 15 additions and 30 deletions

View File

@ -150,7 +150,7 @@ nix-channel --add https://github.com/nix-community/home-manager/archive/release-
nix-channel --update nix-channel --update
# Konfiguration anwenden # Konfiguration anwenden
nixos-rebuild switch --option experimental-features "nix-command flakes" nixos-rebuild switch
reboot reboot
``` ```

View File

@ -1,8 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = [ imports = [ # Include the results of the hardware scan.
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./common.nix ./common.nix
./mounts.nix ./mounts.nix
@ -12,14 +11,13 @@
<home-manager/nixos> <home-manager/nixos>
]; ];
# Home Manager configuration # Home Manager Konfiguration
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
# NixOS Version (don't change after first installation) # NixOS Version (nicht ändern nach Erstinstallation)
system.stateVersion = "25.11"; system.stateVersion = "25.11";
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
} }

View File

@ -1,5 +0,0 @@
{ system ? "x86_64-linux" }:
{
hytale-launcher = (builtins.getFlake "github:TNAZEP/HytaleLauncherFlake").packages.${system}.default;
}

View File

@ -3,7 +3,6 @@
let let
localScripts = import ./scripts.nix { inherit pkgs; }; localScripts = import ./scripts.nix { inherit pkgs; };
flakePackages = import ./flakes.nix {};
in in
{ {
home.stateVersion = "25.11"; home.stateVersion = "25.11";
@ -38,7 +37,6 @@ in
lutris lutris
steam steam
prismlauncher prismlauncher
flakePackages.hytale-launcher
# Entwicklung # Entwicklung
jetbrains-toolbox jetbrains-toolbox

View File

@ -1,24 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
let
spice-vdagent-desktop = pkgs.makeDesktopItem {
name = "spice-vdagent-custom";
desktopName = "Spice vdagent Custom";
comment = "Startet das Clipboard für QEMU/Spice";
exec = "${pkgs.spice-vdagent}/bin/spice-vdagent";
terminal = false;
type = "Application";
categories = [ "Network" ];
extraConfig.StartupNotify = "false";
extraConfig."X-GNOME-Autostart-enabled" = "true";
};
in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
spice-vdagent spice-vdagent
phodav phodav
wl-clipboard wl-clipboard
spice-vdagent-desktop
]; ];
# List services that you want to enable: # List services that you want to enable:
@ -32,7 +18,15 @@ in
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
# Symlink für Autostart environment.etc."xdg/autostart/spice-vdagent-custom.desktop".text = ''
environment.etc."xdg/autostart/spice-vdagent-custom.desktop".source = [Desktop Entry]
"${spice-vdagent-desktop}/share/applications/spice-vdagent-custom.desktop"; Name=Spice vdagent Custom
Comment=Startet das Clipboard für QEMU/Spice
Exec=${pkgs.spice-vdagent}/bin/spice-vdagent
Terminal=false
Type=Application
Categories=Network;
StartupNotify=false
X-GNOME-Autostart-enabled=true
'';
} }