Changed some configs
This commit is contained in:
parent
f475b7b4ab
commit
79d07a5bfd
@ -1,4 +1,4 @@
|
|||||||
{ inputs, outputs, pkgs, ... }:
|
{ inputs, outputs, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@ -77,18 +77,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Setup nfs share
|
|
||||||
services.nfs = {
|
|
||||||
server = {
|
|
||||||
enable = true;
|
|
||||||
exports = ''
|
|
||||||
/export 192.168.100.0/24(rw,fsid=0,no_subtree_check)
|
|
||||||
/export/wrb 192.168.100.0/24(rw,nohide,no_subtree_check)
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
networking.firewall.allowedTCPPorts = [ 2049 ];
|
|
||||||
|
|
||||||
# Temp keyboard override
|
# Temp keyboard override
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
via
|
via
|
||||||
|
@ -73,30 +73,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Create samba share
|
|
||||||
services.samba = {
|
|
||||||
enable = true;
|
|
||||||
securityType = "user";
|
|
||||||
openFirewall = true;
|
|
||||||
settings = {
|
|
||||||
"public" = {
|
|
||||||
"path" = "/home/xeovalyte/Public";
|
|
||||||
"browseable" = "yes";
|
|
||||||
"read only" = "no";
|
|
||||||
"guest ok" = "yes";
|
|
||||||
"create mask" = "0644";
|
|
||||||
"directory mask" = "0755";
|
|
||||||
"force user" = "xeovalyte";
|
|
||||||
"force group" = "xeovalyte";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.samba-wsdd = {
|
|
||||||
enable = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 22 80 443 53 ];
|
allowedTCPPorts = [ 22 80 443 53 ];
|
||||||
|
@ -59,13 +59,29 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs.niri.settings.workspaces = {
|
programs.niri.settings.workspaces = {
|
||||||
"gen" = { open-on-output = "DP-1"; };
|
"00-app" = { name = "app"; open-on-output = "DP-1"; };
|
||||||
"web" = { open-on-output = "HDMI-A-1"; };
|
"01-term" = { name = "term"; open-on-output = "DP-1"; };
|
||||||
"com" = { open-on-output = "HDMI-A-1"; };
|
"10-web" = { name = "web"; open-on-output = "HDMI-A-1"; };
|
||||||
"dev" = { open-on-output = "DP-1"; };
|
"11-mus" = { name = "mus"; open-on-output = "HDMI-A-1"; };
|
||||||
"mus" = { open-on-output = "HDMI-A-1"; };
|
"12-com" = { name = "com"; open-on-output = "HDMI-A-1"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Default startup applications
|
||||||
|
programs.niri.settings.spawn-at-startup = [
|
||||||
|
{ command = ["vesktop"]; }
|
||||||
|
{ command = ["thunderbird"]; }
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.niri.settings.window-rules = [
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{ at-startup = true; app-id = "vesktop"; }
|
||||||
|
{ at-startup = true; app-id = "thunderbird"; }
|
||||||
|
];
|
||||||
|
open-on-workspace = "com";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
programs.niri.settings.binds = with config.lib.niri.actions; {
|
programs.niri.settings.binds = with config.lib.niri.actions; {
|
||||||
"Mod+Shift+Slash".action = show-hotkey-overlay;
|
"Mod+Shift+Slash".action = show-hotkey-overlay;
|
||||||
|
|
||||||
|
@ -29,21 +29,49 @@ in {
|
|||||||
position = "top";
|
position = "top";
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"niri/workspaces"
|
"niri/workspaces"
|
||||||
"niri/window"
|
|
||||||
];
|
];
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"tray"
|
"tray"
|
||||||
"network"
|
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
"clock" = {
|
||||||
|
"format" = "{:%H:%M - %a, %d %b %Y}";
|
||||||
|
};
|
||||||
|
|
||||||
|
"tray" = {
|
||||||
|
"spacing" = 8;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar.style = ''
|
programs.waybar.style = /* css */''
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 5px;
|
||||||
|
background: transparent;
|
||||||
|
color: @base05;
|
||||||
|
border-bottom: 2px solid transparent;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar>box {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
border-bottom: 2px solid @base05;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ in {
|
|||||||
stylix.base16Scheme = lib.mkIf (cfg.theme != "theme") "${pkgs.base16-schemes}/share/themes/${cfg.theme}.yaml";
|
stylix.base16Scheme = lib.mkIf (cfg.theme != "theme") "${pkgs.base16-schemes}/share/themes/${cfg.theme}.yaml";
|
||||||
|
|
||||||
stylix.autoEnable = true;
|
stylix.autoEnable = true;
|
||||||
stylix.opacity.terminal = 0.95;
|
# stylix.opacity.terminal = 0.9;
|
||||||
|
|
||||||
stylix.cursor = {
|
stylix.cursor = {
|
||||||
package = pkgs.phinger-cursors;
|
package = pkgs.phinger-cursors;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user