diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 19:54:47 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:52 -0700 |
| commit | f92d20c06078e92a1bb2d79e3afb9449a7b84614 (patch) | |
| tree | 6e87248f57914b93dfc8e6e10876286a1ea8dc2c | |
| parent | 911277bbdb587863b582ea57e9183e996d12e44c (diff) | |
migration: wine
| -rw-r--r-- | hosts/c-pc/configuration.nix | 3 | ||||
| -rw-r--r-- | hosts/c-pc/home.nix | 2 | ||||
| -rw-r--r-- | snowfall/homes/x86_64-linux/c/default.nix | 2 | ||||
| -rw-r--r-- | snowfall/modules/home/tools/default.nix | 11 |
4 files changed, 11 insertions, 7 deletions
diff --git a/hosts/c-pc/configuration.nix b/hosts/c-pc/configuration.nix index 34c2ec6..726a971 100644 --- a/hosts/c-pc/configuration.nix +++ b/hosts/c-pc/configuration.nix @@ -20,9 +20,6 @@ environment.systemPackages = with pkgs; [ (writeShellScriptBin "toys" "nix-shell -p cmatrix asciiquarium pipes cowsay figlet neofetch") - - wineWowPackages.stable - winetricks jellyfin diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix index 1167777..9501c46 100644 --- a/hosts/c-pc/home.nix +++ b/hosts/c-pc/home.nix @@ -17,8 +17,6 @@ directories = [ ".local/share/applications" - ".wine" - ".config/jellyfin" ".local/share/jellyfin" ".cache/jellyfin" diff --git a/snowfall/homes/x86_64-linux/c/default.nix b/snowfall/homes/x86_64-linux/c/default.nix index 834091e..cdeb8cb 100644 --- a/snowfall/homes/x86_64-linux/c/default.nix +++ b/snowfall/homes/x86_64-linux/c/default.nix @@ -24,6 +24,8 @@ with lib; with lib.${namespace}; { prismlauncher.extra.rusherhack.enable = true; }; + tools.wine.enable = true; + tools.git = { name = "Caroline Larimore"; email = "caroline@larimo.re"; diff --git a/snowfall/modules/home/tools/default.nix b/snowfall/modules/home/tools/default.nix index da6741a..9627d0f 100644 --- a/snowfall/modules/home/tools/default.nix +++ b/snowfall/modules/home/tools/default.nix @@ -1,8 +1,15 @@ -{ lib, namespace, ... }: +{ lib, pkgs, namespace, ... }: with lib; with lib.${namespace}; { - imports = [ + imports = with pkgs; [ (mkSimpleTool "cloc" {}) (mkSimpleTool "ffmpeg" {}) + (mkSimpleTool "wine" { + packages = [ + wineWowPackages.stable + winetricks + ]; + persist = [ ".wine" ]; + }) ]; } |