Compare commits
No commits in common. "674d531d32eeee502880cd60b9fa64cb3a25b8a6" and "f63a44bfa02ba5e197edff1b1bc308e9e6ac51d2" have entirely different histories.
674d531d32
...
f63a44bfa0
8 changed files with 4 additions and 49 deletions
Binary file not shown.
Before Width: | Height: | Size: 146 KiB |
Binary file not shown.
Before Width: | Height: | Size: 65 KiB |
|
@ -25,8 +25,6 @@
|
||||||
desktop.sway = {
|
desktop.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
kanshi = true;
|
kanshi = true;
|
||||||
wallpapers.lockscreen = "${./files/lockscreen.png}";
|
|
||||||
wallpapers.desktop = "${./files/wallpaper.png} center #000000";
|
|
||||||
waybar = {
|
waybar = {
|
||||||
laptop = true;
|
laptop = true;
|
||||||
gpuThermal = {
|
gpuThermal = {
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
_:
|
|
||||||
{
|
|
||||||
## Specific host home manager configuration
|
|
||||||
wayland.windowManager.sway.config = {
|
|
||||||
input = {
|
|
||||||
"1:1:AT_Translated_Set_2_keyboard" = {
|
|
||||||
xkb_layout = "us";
|
|
||||||
xkb_variant = "altgr-intl";
|
|
||||||
};
|
|
||||||
|
|
||||||
"2:7:SynPS/2_Synaptics_TouchPad" = {
|
|
||||||
"tap" = "enable";
|
|
||||||
"accel_profile" = "adaptive";
|
|
||||||
"dwt" = "enable";
|
|
||||||
"pointer_accel" = "0.3";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -13,19 +13,6 @@ in
|
||||||
description = "configure laptop mode";
|
description = "configure laptop mode";
|
||||||
};
|
};
|
||||||
|
|
||||||
wallpapers = {
|
|
||||||
lockscreen = mkOption {
|
|
||||||
type = types.path;
|
|
||||||
default = "";
|
|
||||||
description = "path for lockscreen wallpaper";
|
|
||||||
};
|
|
||||||
desktop = mkOption {
|
|
||||||
type = types.path;
|
|
||||||
default = "";
|
|
||||||
description = "path for desktop wallpaper";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
waybar = {
|
waybar = {
|
||||||
laptop = mkOption {
|
laptop = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
@ -143,7 +130,7 @@ in
|
||||||
|
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "adwaita";
|
platformTheme = "gnome";
|
||||||
style.name = "adwaita-dark";
|
style.name = "adwaita-dark";
|
||||||
};
|
};
|
||||||
xdg = {
|
xdg = {
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
|
||||||
cfg = config.modules.desktop.sway;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = mkIf config.modules.desktop.sway.enable {
|
config = mkIf config.modules.desktop.sway.enable {
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
|
@ -23,11 +20,6 @@ in
|
||||||
xkb_variant = "altgr-intl";
|
xkb_variant = "altgr-intl";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
output = {
|
|
||||||
"*" = {
|
|
||||||
bg = "${cfg.wallpapers.desktop}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
seat = {
|
seat = {
|
||||||
"*".hide_cursor = "when-typing enable";
|
"*".hide_cursor = "when-typing enable";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
|
||||||
cfg = config.modules.desktop.sway;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = mkIf config.modules.desktop.sway.enable {
|
config = mkIf config.modules.desktop.sway.enable {
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
image = "${cfg.wallpapers.lockscreen}";
|
image = "~/medias/images/wallpapers/lockscreen.png";
|
||||||
scaling = "center";
|
scaling = "center";
|
||||||
color = "000000";
|
color = "000000";
|
||||||
indicator-radius = 70;
|
indicator-radius = 70;
|
||||||
|
|
|
@ -55,8 +55,8 @@
|
||||||
../hosts/${hostname}/home-config.nix
|
../hosts/${hostname}/home-config.nix
|
||||||
../modules/home-manager/default.nix
|
../modules/home-manager/default.nix
|
||||||
] ++ lib.optional (
|
] ++ lib.optional (
|
||||||
builtins.pathExists ../hosts/${hostname}/includes/home-manager.nix
|
builtins.pathExists ../home-manager/hosts/${hostname}.nix
|
||||||
) ../hosts/${hostname}/includes/home-manager.nix;
|
) ../home-manager/hosts/${hostname}.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue