refactor(flake): move nixos configs into flake

This commit is contained in:
Mohammad Rafiq 2025-03-31 04:41:56 +08:00
parent fc259dff4a
commit 9f8c3bb923
No known key found for this signature in database
67 changed files with 45 additions and 56 deletions

View file

@ -0,0 +1,23 @@
{
inputs,
pkgs,
...
}:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
in
{
home-manager.users.rafiq = {
imports = [
inputs.spicetify-nix.homeManagerModules.spicetify
];
programs.spicetify = {
enable = true;
spotifyLaunchFlags = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
windowManagerPatch = true;
enabledCustomApps = with spicePkgs.apps; [
marketplace
];
};
};
}