misc module changes

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-07-29 14:12:04 +03:00
parent e8e22f2691
commit 8c5d8bdb50
4 changed files with 22 additions and 16 deletions

View File

@@ -43,6 +43,12 @@
{
profile = {
name = "dunamis";
outputs = [{criteria = main;}];
};
}
{
profile = {
name = "dunamis-twomon";
outputs = [
{criteria = main;}
{

View File

@@ -4,7 +4,7 @@
domain = "@users";
item = "rtprio";
type = "-";
value = -1;
value = 1;
}
];
}

View File

@@ -8,9 +8,9 @@
inherit (lib) mkIf mkEnableOption;
cfg = config.desktop.cosmic;
in {
imports = with inputs; [
nixos-cosmic.nixosModules.default
];
# imports = with inputs; [
# nixos-cosmic.nixosModules.default
# ];
options = {
desktop.cosmic.enable =
mkEnableOption "enable cosmic desktop";
@@ -21,10 +21,10 @@ in {
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
services.desktopManager.cosmic.enable = true;
systemd = {
packages = [pkgs.observatory];
services.monitord.wantedBy = ["multi-user.target"];
};
# systemd = {
# packages = [pkgs.observatory];
# services.monitord.wantedBy = ["multi-user.target"];
# };
xdg.portal = {
enable = true;
extraPortals = with pkgs; [

View File

@@ -9,7 +9,7 @@
environment = {
ldso32 = null;
memoryAllocator.provider = "mimalloc";
# memoryAllocator.provider = "mimalloc"; # weird memory consumption stuff
variables = {
LESS = "-R --mouse";
};
@@ -17,16 +17,16 @@
networking.networkmanager.enable = true;
services.openssh = {
settings.X11Forwarding = false;
settings.KbdInteractiveAuthentication = false;
settings.PasswordAuthentication = false;
settings.UseDns = false;
services.openssh.settings = {
X11Forwarding = false;
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
UseDns = false;
# unbind gnupg sockets if they exists
settings.StreamLocalBindUnlink = true;
StreamLocalBindUnlink = true;
# Use key exchange algorithms recommended by `nixpkgs#ssh-audit`
settings.KexAlgorithms = [
KexAlgorithms = [
"curve25519-sha256"
"curve25519-sha256@libssh.org"
"diffie-hellman-group16-sha512"