Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Aug 31, 2024
1 parent 2a532d2 commit 3ad0909
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 60 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 2 additions & 10 deletions modules/home/programs/graphical/wms/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
...
}:
let
inherit (lib) mkIf mkEnableOption getExe;
inherit (lib) mkIf mkEnableOption;
inherit (lib.${namespace}) enabled;
inherit (inputs) hyprland;

Expand Down Expand Up @@ -214,15 +214,7 @@ in
${cfg.appendConfig}
'';

package =
if cfg.enableDebug then
hyprland.packages.${system}.hyprland-debug
else
hyprland.packages.${system}.hyprland;

settings = {
exec = [ "${getExe pkgs.libnotify} --icon ~/.face -u normal \"Hello $(whoami)\"" ];
};
package = hyprland.packages.${system}.hyprland;

systemd = {
enable = true;
Expand Down
4 changes: 2 additions & 2 deletions modules/home/suites/wlroots/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ in
};
};

# using nixos module
# using homemanager module
# services.network-manager-applet.enable = true;
services = {
blueman-applet.enable = true;
blueman-applet.enable = false;
};
};
}
5 changes: 1 addition & 4 deletions modules/nixos/hardware/bluetooth/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
namespace,
...
}:
Expand All @@ -20,12 +19,10 @@ in
hardware.bluetooth = {
enable = true;

package = pkgs.bluez-experimental;
#package = pkgs.bluez-experimental;
powerOnBoot = true;
};

boot.kernelParams = [ "btusb" ];

services.blueman = {
enable = true;
};
Expand Down
1 change: 1 addition & 0 deletions modules/nixos/services/dbus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ in
dconf
gcr
udisks2
blueman
];

implementation = "broker";
Expand Down
2 changes: 1 addition & 1 deletion modules/nixos/suites/wlroots/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in
};
};
programs = {
nm-applet.enable = true;
# nm-applet.enable = true;

wshowkeys = {
enable = true;
Expand Down
19 changes: 16 additions & 3 deletions modules/nixos/system/locale/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}:
let
inherit (lib) mkIf mkForce;
inherit (lib) mkIf;
inherit (lib.${namespace}) mkBoolOpt;

cfg = config.${namespace}.system.locale;
Expand All @@ -21,11 +21,24 @@ in
LOCALE_ARCHIVE = "/run/current-system/sw/lib/locale/locale-archive";
};

i18n.defaultLocale = "en_US.UTF-8";
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "fr_FR.UTF-8";
LC_IDENTIFICATION = "fr_FR.UTF-8";
LC_MEASUREMENT = "fr_FR.UTF-8";
LC_MONETARY = "fr_FR.UTF-8";
LC_NAME = "fr_FR.UTF-8";
LC_NUMERIC = "fr_FR.UTF-8";
LC_PAPER = "fr_FR.UTF-8";
LC_TELEPHONE = "fr_FR.UTF-8";
LC_TIME = "fr_FR.UTF-8";
};
};

console = {
font = "Lat2-Terminus16";
keyMap = mkForce "us";
useXkbConfig = true;
};
};
}
2 changes: 1 addition & 1 deletion modules/shared/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ in
};

environment = {
variables.FLAKE = "/home/gwen/Documents/dots/elythh/flake";
variables.FLAKE = "/etc/nixos/flake/";
etc = with inputs; {
# set channels (backwards compatibility)
"nix/flake-channels/system".source = self;
Expand Down
36 changes: 0 additions & 36 deletions systems/x86_64-linux/grovetender/networking.nix

This file was deleted.

0 comments on commit 3ad0909

Please sign in to comment.