This commit is contained in:
Miguel Palhas
2025-10-06 09:40:41 +01:00
parent 0dff3c1585
commit d4659b1b04
6 changed files with 25 additions and 18 deletions
Generated
+6 -6
View File
@@ -151,11 +151,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757650187, "lastModified": 1758786164,
"narHash": "sha256-OrythrqccPKtuVt0mj26rr83Qo3Ljb4ZmwLdPGjzjMU=", "narHash": "sha256-o1WyZI2T7yPywiY06Swt8AZH/ewKU1nLqDw8fw1fwPc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "9eab59f3e71ea3a725e4817d8dcf0da0824ad19d", "rev": "232454052008027c8e925979d13a951e92729781",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -317,11 +317,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1757487488, "lastModified": 1758427187,
"narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=", "narHash": "sha256-pHpxZ/IyCwoTQPtFIAG2QaxuSm8jWzrzBGjwQZIttJc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0", "rev": "554be6495561ff07b6c724047bdd7e0716aa7b46",
"type": "github" "type": "github"
}, },
"original": { "original": {
+1 -1
View File
@@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
rofi-wayland rofi
(callPackage ../../../../pkgs/rofi-launchers/package.nix { }) (callPackage ../../../../pkgs/rofi-launchers/package.nix { })
]; ];
} }
+1 -8
View File
@@ -28,6 +28,7 @@
home.sessionVariables = { home.sessionVariables = {
LIBVA_DRIVER_NAME = "nvidia"; LIBVA_DRIVER_NAME = "nvidia";
GDM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia"; __GLX_VENDOR_LIBRARY_NAME = "nvidia";
}; };
@@ -54,14 +55,6 @@
}; };
programs.hyprpanel.settings.bar.layouts = {
"0" = {
right = [
"battery"
];
};
};
programs.kitty.settings.font_size = 16; programs.kitty.settings.font_size = 16;
home = { home = {
+13
View File
@@ -0,0 +1,13 @@
{
config,
lib,
pkgs,
...
}:
{
environment.systemPackages = with pkgs; [
wineWowPackages.waylandFull
winetricks
];
}
+1
View File
@@ -18,6 +18,7 @@
../common/features/bluetooth.nix ../common/features/bluetooth.nix
../common/features/ledger.nix ../common/features/ledger.nix
../common/features/android-studio.nix ../common/features/android-studio.nix
../common/features/wine.nix
../common/features/home ../common/features/home
]; ];
+3 -3
View File
@@ -2,7 +2,7 @@
lib, lib,
stdenvNoCC, stdenvNoCC,
fetchFromGitHub, fetchFromGitHub,
rofi-wayland, rofi,
}: }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
@@ -15,14 +15,14 @@ stdenvNoCC.mkDerivation {
hash = "sha256-ZSosFsi/M5Gqb9gsUqS7hu89uOu9078Dus4Y+WCphZc="; hash = "sha256-ZSosFsi/M5Gqb9gsUqS7hu89uOu9078Dus4Y+WCphZc=";
}; };
buildInputs = [ rofi-wayland ]; buildInputs = [ rofi ];
postPatch = '' postPatch = ''
files=$(find files/scripts -type l) files=$(find files/scripts -type l)
for file in $files; do for file in $files; do
substituteInPlace $file \ substituteInPlace $file \
--replace-fail '$HOME/.config/rofi' "$out/share" \ --replace-fail '$HOME/.config/rofi' "$out/share" \
--replace-fail "rofi " "${lib.getExe rofi-wayland} " --replace-fail "rofi " "${lib.getExe rofi} "
done done
files=$(find files/launchers -type f -name "*.rasi") files=$(find files/launchers -type f -name "*.rasi")