add greetd.nix
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
./boot.nix
|
||||
./fonts.nix
|
||||
./greetd.nix
|
||||
./home-manager.nix
|
||||
./locale.nix
|
||||
./hyprland.nix
|
||||
|
@ -18,9 +18,9 @@
|
||||
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = [ "Noto Serif CJK JP" "Noto Serif" ];
|
||||
sansSerif = [ "Noto Sans CJK JP" "Noto Sans" ];
|
||||
monospace = [ "Noto Mono CJK JP" "Noto Mono" ];
|
||||
serif = [ "Noto Serif" ];
|
||||
sansSerif = [ "Noto Sans" ];
|
||||
monospace = [ "Noto Mono" ];
|
||||
};
|
||||
|
||||
allowBitmaps = false;
|
||||
|
21
modules/greetd.nix
Normal file
21
modules/greetd.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
restart = false;
|
||||
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
|
||||
user = "greeter";
|
||||
};
|
||||
|
||||
initial_session = {
|
||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
||||
user = "stefan";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -1,8 +1,11 @@
|
||||
{ config, pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
brightnessctl
|
||||
git
|
||||
neofetch
|
||||
swww
|
||||
tree
|
||||
wget
|
||||
wl-clipboard
|
||||
];
|
||||
}
|
||||
|
46
modules/stylix.nix
Normal file
46
modules/stylix.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
theme = "monokai";
|
||||
opacity = 0.95;
|
||||
font-size = 11;
|
||||
in
|
||||
{
|
||||
stylix.image = ../assets/wallpaper.png;
|
||||
stylix.polarity = "dark";
|
||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml";
|
||||
|
||||
stylix.opacity = {
|
||||
terminal = opacity;
|
||||
popups = opacity;
|
||||
};
|
||||
|
||||
stylix.fonts = {
|
||||
serif = {
|
||||
package = pkgs.noto-fonts-cjk-sans;
|
||||
name = "Noto Sans CJK JP";
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
package = pkgs.noto-fonts-cjk-sans;
|
||||
name = "Noto Sans CJK JP";
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = pkgs.maple-mono;
|
||||
name = "Maple Mono";
|
||||
};
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
|
||||
sizes = {
|
||||
applications = font-size;
|
||||
desktop = font-size;
|
||||
popups = font-size;
|
||||
terminal = font-size;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user