Compare commits
4 Commits
5526b559cf
...
1ae179eb85
Author | SHA1 | Date | |
---|---|---|---|
1ae179eb85
|
|||
efaae1a801
|
|||
27f29769e2
|
|||
c586cc93d8
|
@ -30,7 +30,7 @@
|
|||||||
};
|
};
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "vesper";
|
theme = "rose-pine-moon";
|
||||||
};
|
};
|
||||||
locale = "uk_UA.UTF-8";
|
locale = "uk_UA.UTF-8";
|
||||||
misc = {
|
misc = {
|
||||||
|
@ -71,7 +71,6 @@ in {
|
|||||||
waybar = import ./programs/waybar {inherit config colors getExe ifLaptop pkgs;};
|
waybar = import ./programs/waybar {inherit config colors getExe ifLaptop pkgs;};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile.niri = import ./niri.nix {inherit config hostName launcher lockscreen;};
|
|
||||||
services = import ./services {inherit pkgs lockscreen getExe perSystem;};
|
services = import ./services {inherit pkgs lockscreen getExe perSystem;};
|
||||||
|
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
@ -101,6 +100,10 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
|
configFile = {
|
||||||
|
niri = import ./niri.nix {inherit config hostName launcher lockscreen;};
|
||||||
|
"mimeapps.list".force = true;
|
||||||
|
};
|
||||||
mime.enable = true;
|
mime.enable = true;
|
||||||
mimeApps = {
|
mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
osConfig,
|
|
||||||
config,
|
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (lib) mkIf mkDefault getExe;
|
|
||||||
inherit (config.lib.stylix) colors;
|
|
||||||
inherit (osConfig.networking) hostName;
|
|
||||||
ifLaptop = mkIf (hostName != "dunamis");
|
|
||||||
in {
|
|
||||||
imports = with inputs; [
|
|
||||||
walker.homeManagerModules.default
|
|
||||||
];
|
|
||||||
options = config.desktop.niri.enable {
|
|
||||||
# programs.fuzzel = import ./fuzzel {inherit config mkDefault;};
|
|
||||||
programs.walker = import ./walker {inherit config inputs pkgs;};
|
|
||||||
programs.waybar = import ./waybar {inherit colors config getExe ifLaptop pkgs;};
|
|
||||||
};
|
|
||||||
}
|
|
@ -31,7 +31,8 @@ in {
|
|||||||
config.niri.default = ["gnome" "gtk"];
|
config.niri.default = ["gnome" "gtk"];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf config.services.displayManager.autoLogin.enable {
|
(mkIf (cfg.enable
|
||||||
|
&& config.services.displayManager.autoLogin.enable) {
|
||||||
services.greetd.settings.initial_session = {
|
services.greetd.settings.initial_session = {
|
||||||
command = "niri-session";
|
command = "niri-session";
|
||||||
user = config.services.displayManager.autoLogin.user;
|
user = config.services.displayManager.autoLogin.user;
|
||||||
|
@ -34,4 +34,12 @@
|
|||||||
"sntrup761x25519-sha512@openssh.com"
|
"sntrup761x25519-sha512@openssh.com"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.journald.extraConfig = ''
|
||||||
|
SystemMaxUse=1G
|
||||||
|
'';
|
||||||
|
systemd.coredump.extraConfig = ''
|
||||||
|
Storage=none
|
||||||
|
ProcessSizeMax=0
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
@ -97,8 +97,8 @@
|
|||||||
wallpaper = wallpapers.cyber-dawn;
|
wallpaper = wallpapers.cyber-dawn;
|
||||||
|
|
||||||
serif = {
|
serif = {
|
||||||
package = geistPackage;
|
package = interPackage;
|
||||||
name = "Geist Light";
|
name = "Inter Nerd Font";
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
|
Reference in New Issue
Block a user