@@ -43,6 +43,12 @@
|
|||||||
{
|
{
|
||||||
profile = {
|
profile = {
|
||||||
name = "dunamis";
|
name = "dunamis";
|
||||||
|
outputs = [{criteria = main;}];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
profile = {
|
||||||
|
name = "dunamis-twomon";
|
||||||
outputs = [
|
outputs = [
|
||||||
{criteria = main;}
|
{criteria = main;}
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
domain = "@users";
|
domain = "@users";
|
||||||
item = "rtprio";
|
item = "rtprio";
|
||||||
type = "-";
|
type = "-";
|
||||||
value = -1;
|
value = 1;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
inherit (lib) mkIf mkEnableOption;
|
inherit (lib) mkIf mkEnableOption;
|
||||||
cfg = config.desktop.cosmic;
|
cfg = config.desktop.cosmic;
|
||||||
in {
|
in {
|
||||||
imports = with inputs; [
|
# imports = with inputs; [
|
||||||
nixos-cosmic.nixosModules.default
|
# nixos-cosmic.nixosModules.default
|
||||||
];
|
# ];
|
||||||
options = {
|
options = {
|
||||||
desktop.cosmic.enable =
|
desktop.cosmic.enable =
|
||||||
mkEnableOption "enable cosmic desktop";
|
mkEnableOption "enable cosmic desktop";
|
||||||
@@ -21,10 +21,10 @@ in {
|
|||||||
|
|
||||||
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
|
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
|
||||||
services.desktopManager.cosmic.enable = true;
|
services.desktopManager.cosmic.enable = true;
|
||||||
systemd = {
|
# systemd = {
|
||||||
packages = [pkgs.observatory];
|
# packages = [pkgs.observatory];
|
||||||
services.monitord.wantedBy = ["multi-user.target"];
|
# services.monitord.wantedBy = ["multi-user.target"];
|
||||||
};
|
# };
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
ldso32 = null;
|
ldso32 = null;
|
||||||
memoryAllocator.provider = "mimalloc";
|
# memoryAllocator.provider = "mimalloc"; # weird memory consumption stuff
|
||||||
variables = {
|
variables = {
|
||||||
LESS = "-R --mouse";
|
LESS = "-R --mouse";
|
||||||
};
|
};
|
||||||
@@ -17,16 +17,16 @@
|
|||||||
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh.settings = {
|
||||||
settings.X11Forwarding = false;
|
X11Forwarding = false;
|
||||||
settings.KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
settings.PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
settings.UseDns = false;
|
UseDns = false;
|
||||||
# unbind gnupg sockets if they exists
|
# unbind gnupg sockets if they exists
|
||||||
settings.StreamLocalBindUnlink = true;
|
StreamLocalBindUnlink = true;
|
||||||
|
|
||||||
# Use key exchange algorithms recommended by `nixpkgs#ssh-audit`
|
# Use key exchange algorithms recommended by `nixpkgs#ssh-audit`
|
||||||
settings.KexAlgorithms = [
|
KexAlgorithms = [
|
||||||
"curve25519-sha256"
|
"curve25519-sha256"
|
||||||
"curve25519-sha256@libssh.org"
|
"curve25519-sha256@libssh.org"
|
||||||
"diffie-hellman-group16-sha512"
|
"diffie-hellman-group16-sha512"
|
||||||
|
|||||||
Reference in New Issue
Block a user