f slur....

This commit is contained in:
Sakooooo 2024-10-15 11:47:14 +04:00
parent e248729f41
commit 32d50fe9ef
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 63 additions and 75 deletions

View file

@ -1,15 +1,9 @@
{ inputs, outputs, options, config, lib, pkgs, ... }:
let
cfg = config.modules.desktop.hyprland;
in
{
imports = [
inputs.hyprland.nixosModules.default
];
let cfg = config.modules.desktop.hyprland;
in {
imports = [ inputs.hyprland.nixosModules.default ];
options.modules.desktop.hyprland = {
enable = lib.mkEnableOption false;
};
options.modules.desktop.hyprland = { enable = lib.mkEnableOption false; };
config = lib.mkIf cfg.enable {
@ -20,11 +14,10 @@ in
services.greetd = {
enable = true;
settings = {
terminal = {
vt = 2;
};
terminal = { vt = 2; };
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --time-format '%I:%M %p | %a %h | %F' --cmd Hyprland";
command =
"${pkgs.greetd.tuigreet}/bin/tuigreet --time --time-format '%I:%M %p | %a %h | %F' --cmd Hyprland";
user = "greeter";
};
};
@ -66,14 +59,10 @@ in
enable = true;
# no mouse accel
mouse = {
accelProfile = "flat";
};
mouse = { accelProfile = "flat"; };
# no touchpad accel
touchpad = {
accelProfile = "flat";
};
touchpad = { accelProfile = "flat"; };
};
users.users.sako.packages = with pkgs; [
@ -114,9 +103,7 @@ in
wl-clipboard
];
programs.hyprland = {
enable = true;
};
programs.hyprland = { enable = true; };
programs.hyprlock.enable = true;
@ -136,8 +123,8 @@ in
};
gtk = {
enable = true;
theme.name = "Fluent-red-Dark";
iconTheme.name = "Fluent-red-dark";
theme.name = "Fluent-pink-Dark";
iconTheme.name = "Fluent-pink-dark";
};
home.file = {
"background.png" = {
@ -148,7 +135,8 @@ in
# thanks PartyWumpus
# https://github.com/PartyWumpus/dotfiles/blob/277949d84d53a58a3f52be935cd3c581c89d5d7c/modules/hyprland/hyprland.nix#L492
"/nixos/config/ags/types" = {
source = "${inputs.ags.packages.x86_64-linux.agsWithTypes.out}/share/com.github.Aylur.ags/types";
source =
"${inputs.ags.packages.x86_64-linux.agsWithTypes.out}/share/com.github.Aylur.ags/types";
};
};
xdg.configFile = {

View file

@ -16,7 +16,7 @@
prev.vimix-gtk-themes.override { themeVariants = [ "ruby" ]; };
fluent-gtk-theme = prev.fluent-gtk-theme.override {
colorVariants = [ "dark" ];
themeVariants = [ "red" ];
themeVariants = [ "pink" ];
tweaks = [ "square" ];
};
fluent-icon-theme =