71 current 2025-03-22 12:28:46 25.05.20250315.c80f6a7 6.12.19 *

This commit is contained in:
Gustav Bruhn 2025-03-22 12:28:50 +01:00
parent dd91f06de0
commit 80c3158d16
3 changed files with 17 additions and 14 deletions

View File

@ -8,8 +8,8 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
# ../../modules/nixos/cosmic.nix
../../modules/nixos/niri.nix
../../modules/nixos/cosmic.nix
# ../../modules/nixos/niri.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;

View File

@ -19,20 +19,20 @@ in {
enable = true;
settings = {
default_session = {
command = "${tuigreet} --time --rememeber --remember-session --sessions ${config.greeter.session}";
command = "${tuigreet} --time --remember --remember-session --sessions ${config.greeter.session}/bin/niri-session";
user = "greeter";
};
};
};
};
# systemd.services.greetd.serviceConfig = {
# Type = "idle";
# StandardInput = "tty";
# StandardOutput = "tty";
# StandardError = "journal";
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal";
# TTYReset = true;
# TTYVHangup = true;
# TTYVDisallocate = true;
# };
TTYReset = true;
TTYVHangup = true;
TTYVDisallocate = true;
};
};
}

View File

@ -2,6 +2,9 @@
imports = [
./greeter.nix
];
greeter.session = "${pkgs.niri}/bin/niri-session";
programs.niri.enable = true;
greeter.session = "${pkgs.niri}";
environment.systemPackages = with pkgs; [
alacritty
];
}