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