@@ -43,6 +43,12 @@
|
||||
{
|
||||
profile = {
|
||||
name = "dunamis";
|
||||
outputs = [{criteria = main;}];
|
||||
};
|
||||
}
|
||||
{
|
||||
profile = {
|
||||
name = "dunamis-twomon";
|
||||
outputs = [
|
||||
{criteria = main;}
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
domain = "@users";
|
||||
item = "rtprio";
|
||||
type = "-";
|
||||
value = -1;
|
||||
value = 1;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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; [
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user