Compare commits
4 commits
cca3ba7d09
...
b8427a37a0
Author | SHA1 | Date | |
---|---|---|---|
b8427a37a0 | |||
8bb3d9dba9 | |||
42ce613f54 | |||
e10d26a27a |
3 changed files with 13 additions and 11 deletions
|
@ -27,17 +27,17 @@ inputs: let
|
|||
modules = concatLists [
|
||||
# This is used to pre-emptively set the hostPlatform for nixpkgs.
|
||||
# Also, we set the system hostname here.
|
||||
[
|
||||
# self.nixosModules.user
|
||||
]
|
||||
(singleton {
|
||||
networking.hostName = hostname;
|
||||
nixpkgs.hostPlatform = system;
|
||||
})
|
||||
(flatten (
|
||||
concatLists [
|
||||
# configuration for the host, passed as an argument.
|
||||
(singleton ./${hostname}/default.nix)
|
||||
# common configuration, which all hosts share.
|
||||
(singleton ./common.nix)
|
||||
# Import all files called module.nix from my modules directory.
|
||||
(
|
||||
filter (hasSuffix "module.nix") (
|
||||
map toString (listFilesRecursive ../modules)
|
||||
|
|
|
@ -36,14 +36,14 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
services.greetd = let
|
||||
session = {
|
||||
command = ''
|
||||
${pkgs.greetd.tuigreet}/bin/tuigreet \
|
||||
-c \"${cfg.session}\" \
|
||||
-r
|
||||
-t --time-format "DD.MM.YYYY"
|
||||
--asteriks'';
|
||||
# command = "${getExe config.programs.uwsm.package} start hyprland-uwsm.desktop";
|
||||
# user = username;
|
||||
# command = ''
|
||||
# ${pkgs.greetd.tuigreet}/bin/tuigreet \
|
||||
# -c \"${cfg.session}\" \
|
||||
# -r
|
||||
# -t --time-format "DD.MM.YYYY"
|
||||
# --asteriks'';
|
||||
command = "${getExe config.programs.uwsm.package} start hyprland-uwsm.desktop";
|
||||
user = username;
|
||||
};
|
||||
in {
|
||||
enable = true;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
...
|
||||
}: let
|
||||
# inherit (config.modules.style) cursor;
|
||||
inherit (lib.meta) getExe;
|
||||
in {
|
||||
programs.hyprland.settings = {
|
||||
# Hyprland settings
|
||||
|
@ -25,6 +26,7 @@ in {
|
|||
"${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent"
|
||||
"hyprctl dispatch split-workspace 1"
|
||||
|
||||
"${getExe pkgs.hyprlock}"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue