working flake-parts
This commit is contained in:
parent
ed864615e7
commit
35e6b01a56
15 changed files with 243 additions and 88 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
inputs',
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -16,7 +16,7 @@ in {
|
|||
home-manager.users.${username} = {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
package = inputs.nixpkgs-wayland.packages.${pkgs.system}.dunst;
|
||||
package = inputs'.nixpkgs-wayland.packages.dunst;
|
||||
settings = {
|
||||
global = {
|
||||
monitor = 1;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
inputs',
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -25,10 +25,10 @@ with lib; let
|
|||
#exec-once=[workspace 1;fullscreen;noanim] ${
|
||||
pkgs.greetd.${cfg.greeter}
|
||||
}/bin/${cfg.greeter} -l; ${
|
||||
inputs.hyprland.packages.${pkgs.system}.hyprland
|
||||
inputs'.hyprland.packages.hyprland
|
||||
}/bin/hyprctl dispatch exit
|
||||
#exec-once=${
|
||||
inputs.hyprland.packages.${pkgs.system}.hyprland
|
||||
inputs'.hyprland.packages.hyprland
|
||||
}/bin/hyprctl dispatch focuswindow ${cfg.greeter}
|
||||
'';
|
||||
in {
|
||||
|
@ -49,7 +49,7 @@ in {
|
|||
enable = true;
|
||||
settings.default_session = {
|
||||
command = "${
|
||||
inputs.hyprland.packages.${pkgs.system}.hyprland
|
||||
inputs'.hyprland.packages.hyprland
|
||||
}/bin/Hyprland --config ${hyprlandConfig}";
|
||||
user = username;
|
||||
};
|
||||
|
|
|
@ -9,6 +9,14 @@ with lib; let
|
|||
inherit (config.modules.other.system) username;
|
||||
in {
|
||||
options.modules.programs.ssh.enable = mkEnableOption "ssh";
|
||||
|
||||
config = mkIf cfg.enable {programs.ssh = {startAgent = true;};};
|
||||
config = {
|
||||
programs.ssh.startAgent = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue