Compare commits
3 Commits
7a4283ba3a
...
70a10c6b73
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70a10c6b73 | ||
|
|
b38ee2c8d6 | ||
|
|
0518c9b34a |
@ -150,7 +150,7 @@ nix-channel --add https://github.com/nix-community/home-manager/archive/release-
|
||||
nix-channel --update
|
||||
|
||||
# Konfiguration anwenden
|
||||
nixos-rebuild switch
|
||||
nixos-rebuild switch --option experimental-features "nix-command flakes"
|
||||
|
||||
reboot
|
||||
```
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ # Include the results of the hardware scan.
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./common.nix
|
||||
./mounts.nix
|
||||
@ -11,13 +12,14 @@
|
||||
<home-manager/nixos>
|
||||
];
|
||||
|
||||
# Home Manager Konfiguration
|
||||
# Home Manager configuration
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
|
||||
# NixOS Version (nicht ändern nach Erstinstallation)
|
||||
# NixOS Version (don't change after first installation)
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
}
|
||||
|
||||
5
config/flakes.nix
Normal file
5
config/flakes.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ system ? "x86_64-linux" }:
|
||||
|
||||
{
|
||||
hytale-launcher = (builtins.getFlake "github:TNAZEP/HytaleLauncherFlake").packages.${system}.default;
|
||||
}
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
let
|
||||
localScripts = import ./scripts.nix { inherit pkgs; };
|
||||
flakePackages = import ./flakes.nix {};
|
||||
in
|
||||
{
|
||||
home.stateVersion = "25.11";
|
||||
@ -37,6 +38,7 @@ in
|
||||
lutris
|
||||
steam
|
||||
prismlauncher
|
||||
flakePackages.hytale-launcher
|
||||
|
||||
# Entwicklung
|
||||
jetbrains-toolbox
|
||||
|
||||
@ -1,10 +1,24 @@
|
||||
{ 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; [
|
||||
spice-vdagent
|
||||
phodav
|
||||
wl-clipboard
|
||||
spice-vdagent-desktop
|
||||
];
|
||||
|
||||
# List services that you want to enable:
|
||||
@ -18,15 +32,7 @@
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
|
||||
environment.etc."xdg/autostart/spice-vdagent-custom.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
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
|
||||
'';
|
||||
# Symlink für Autostart
|
||||
environment.etc."xdg/autostart/spice-vdagent-custom.desktop".source =
|
||||
"${spice-vdagent-desktop}/share/applications/spice-vdagent-custom.desktop";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user