mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: finally got hyprland working
This commit is contained in:
parent
17ea540427
commit
c8e774a0ca
12 changed files with 66 additions and 13 deletions
38
flake.lock
generated
38
flake.lock
generated
|
@ -126,6 +126,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_5": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1733328505,
|
||||
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
|
@ -708,6 +724,7 @@
|
|||
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
||||
"sops-nix": "sops-nix_2",
|
||||
"systems": "systems_5",
|
||||
"waybar": "waybar",
|
||||
"yazi": "yazi"
|
||||
}
|
||||
},
|
||||
|
@ -950,6 +967,27 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"waybar": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_5",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1738399335,
|
||||
"narHash": "sha256-OvtDGDUX0P5oz/LzhzeAcGfd6ihlUHPMKR4CZgnScTA=",
|
||||
"owner": "Alexays",
|
||||
"repo": "Waybar",
|
||||
"rev": "0d5a4f82eca6df03b73908244d1dcd5fec2c3584",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Alexays",
|
||||
"repo": "Waybar",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"yazi": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils_5",
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
url = "github:helix-editor/helix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
waybar = {
|
||||
url = "github:Alexays/Waybar";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
|
@ -7,6 +7,7 @@ with pkgs.vscode-extensions;
|
|||
esbenp.prettier-vscode
|
||||
haskell.haskell
|
||||
james-yu.latex-workshop
|
||||
bbenoist.nix
|
||||
# jnoortheen.nix-ide
|
||||
mattn.lisp
|
||||
mkhl.direnv
|
||||
|
|
|
@ -21,8 +21,9 @@ in
|
|||
"pactl set-default-sink bluez_output.00_16_94_35_0D_5F.1"
|
||||
"pactl set-default-source alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y818KFJ0C671CE-00.HiFi__Mic1__source"
|
||||
"bluetoothctl power on"
|
||||
"gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'"
|
||||
"gsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
|
||||
"gsettings set org.gnome.desktop.interface cursor-size ${builtins.toString cursor.size}"
|
||||
"systemctl --user import-environment PATH"
|
||||
"systemctl --user restart xdg-desktop-portal.service"
|
||||
# "systemctl --user import-environment PATH"
|
||||
# "systemctl --user restart xdg-desktop-portal.service"
|
||||
]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
focus_on_activate = 1;
|
||||
force_default_wallpaper = 0;
|
||||
# disable_hyprland_logo = true;
|
||||
# disable_splash_rendering = true;
|
||||
# disable_hyprland_qtutils_check = true;
|
||||
disable_hyprland_logo = true;
|
||||
disable_splash_rendering = true;
|
||||
disable_hyprland_qtutils_check = true;
|
||||
}
|
||||
|
|
|
@ -61,7 +61,6 @@ let
|
|||
];
|
||||
|
||||
pinWindows = builtins.map (x: "pin, " + x) [
|
||||
"title:^${bitwarden}$"
|
||||
"title:^${picture}$"
|
||||
"title:^${discord-popout}$"
|
||||
];
|
||||
|
|
|
@ -29,7 +29,14 @@ in
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
systemd.enable = false;
|
||||
systemd = {
|
||||
enable = true;
|
||||
enableXdgAutostart = true;
|
||||
extraCommands = [
|
||||
"systemctl --user stop hyprland-session.target"
|
||||
"systemctl --user start hyprland-session.target"
|
||||
];
|
||||
};
|
||||
settings = configImports;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ in
|
|||
{
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = flake.inputs.waybar.packages.${pkgs.system}.default;
|
||||
settings = settingsPath;
|
||||
style = stylePath;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
"default" = {
|
||||
path = "~/Files/Projects/dotfiles/home/modules/gui/desktop/wpaperd/wallpaper";
|
||||
path = "~/Files/Projects/dotfiles/home/modules/gui/desktop/hypr/wpaperd/wallpaper";
|
||||
apply-shadow = true;
|
||||
duration = "1m";
|
||||
sorting = "random";
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
package = flake.inputs.hypridle.packages.${pkgs.system}.hypridle;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
extraPortals = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-hyprland
|
||||
xdg-desktop-portal-wlr
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -71,11 +71,11 @@ in
|
|||
in
|
||||
{
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/c22a06af-8855-4938-9d04-68cd4d88d7f0";
|
||||
device = "/dev/disk/by-uuid/58987815-99d2-4a26-b260-529a4e78b854";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/7B8C-1E95";
|
||||
device = "/dev/disk/by-uuid/D39C-83F7";
|
||||
fsType = "vfat";
|
||||
options = desktop.boot.options;
|
||||
};
|
||||
|
@ -85,7 +85,7 @@ in
|
|||
// (builtins.listToAttrs (map sambaMounts sambaDrives));
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/8c9d0c0b-0bc8-442b-a3fd-02a37acd409f"; }
|
||||
{ device = "/dev/disk/by-uuid/f5d9890c-b341-47b0-8726-40afb645db56"; }
|
||||
];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue