Changed some configs
This commit is contained in:
parent
f475b7b4ab
commit
79d07a5bfd
@ -1,4 +1,4 @@
|
||||
{ inputs, outputs, pkgs, ... }:
|
||||
{ inputs, outputs, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
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
|
||||
environment.systemPackages = with pkgs; [
|
||||
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 = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 80 443 53 ];
|
||||
|
@ -59,13 +59,29 @@ in {
|
||||
};
|
||||
|
||||
programs.niri.settings.workspaces = {
|
||||
"gen" = { open-on-output = "DP-1"; };
|
||||
"web" = { open-on-output = "HDMI-A-1"; };
|
||||
"com" = { open-on-output = "HDMI-A-1"; };
|
||||
"dev" = { open-on-output = "DP-1"; };
|
||||
"mus" = { open-on-output = "HDMI-A-1"; };
|
||||
"00-app" = { name = "app"; open-on-output = "DP-1"; };
|
||||
"01-term" = { name = "term"; open-on-output = "DP-1"; };
|
||||
"10-web" = { name = "web"; open-on-output = "HDMI-A-1"; };
|
||||
"11-mus" = { name = "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; {
|
||||
"Mod+Shift+Slash".action = show-hotkey-overlay;
|
||||
|
||||
|
@ -29,21 +29,49 @@ in {
|
||||
position = "top";
|
||||
modules-left = [
|
||||
"niri/workspaces"
|
||||
"niri/window"
|
||||
];
|
||||
modules-center = [
|
||||
"clock"
|
||||
];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"network"
|
||||
"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.autoEnable = true;
|
||||
stylix.opacity.terminal = 0.95;
|
||||
# stylix.opacity.terminal = 0.9;
|
||||
|
||||
stylix.cursor = {
|
||||
package = pkgs.phinger-cursors;
|
||||
|
Loading…
x
Reference in New Issue
Block a user