refactor: switch to unstable & add wine

main
sgoudham 1 year ago
parent 49d3838271
commit fcf3a2f275
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -348,11 +348,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1683833146, "lastModified": 1689134369,
"narHash": "sha256-ELF0oXgg0NYGyKtU74HW8CeLstFJwwCGbuahnQla67I=", "narHash": "sha256-0G9dutIvhS/WUr3Awcnqw71g8EVVvvkOhVDnDDbY4Fw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "cc9f65d104e5227d103a529a9fc3687ef4ccb117", "rev": "e42fb59768f0305085abde0dd27ab5e0cc15420c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -559,16 +559,16 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1687288566, "lastModified": 1689192006,
"narHash": "sha256-VckkiJ88Gzdc2cstm0z5eFcrHbvkm4VjxavHBGssvZI=", "narHash": "sha256-QM0f0d8oPphOTYJebsHioR9+FzJcy1QNIzREyubB91U=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b6c73c5fe53bb3afbf65e870541e0645e9145171", "rev": "2de8efefb6ce7f5e4e75bdf57376a96555986841",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-23.05", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

@ -2,9 +2,7 @@
description = "Home Manager configuration of hammy"; description = "Home Manager configuration of hammy";
inputs = { inputs = {
# At the time of writing, nixos-unstable doesn't work for home manager nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# FIXME: https://github.com/NixOS/nixpkgs/issues/236940#issuecomment-1585223723
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

@ -28,8 +28,9 @@
home.username = "hammy"; home.username = "hammy";
home.homeDirectory = "/home/hammy"; home.homeDirectory = "/home/hammy";
home.stateVersion = "22.11"; home.stateVersion = "23.05";
home.packages = with pkgs; [ home.packages = with pkgs; [
wineWowPackages.stable
imagemagick imagemagick
alejandra alejandra
fd fd
@ -41,8 +42,8 @@
TERMINAL = "wezterm-gui"; TERMINAL = "wezterm-gui";
LIBVA_DRIVER_NAME = "iHD"; LIBVA_DRIVER_NAME = "iHD";
LS_COLORS = "$(vivid generate catppuccin-mocha)"; LS_COLORS = "$(vivid generate catppuccin-mocha)";
JAVA_HOME = "$SDKMAN_DIR/candidates/java/current"; JAVA_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/current";
GRAALVM_HOME = "$SDKMAN_DIR/candidates/java/22.3.r17-grl"; GRAALVM_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/22.3.r17-grl";
}; };
home.sessionPath = [ home.sessionPath = [
"${config.xdg.dataHome}/JetBrains/Toolbox/scripts" "${config.xdg.dataHome}/JetBrains/Toolbox/scripts"

Loading…
Cancel
Save