make changes for evaluation warnings
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
f671e4bcf5
commit
4fcd627fac
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = lib.mkDefault "en_US.utf8";
|
defaultLocale = lib.mkDefault "en_US.utf8";
|
||||||
supportedLocales = lib.mkDefault [ "en_US.UTF-8/UTF-8" ];
|
extraLocales = lib.mkDefault [ "en_US.UTF-8/UTF-8" ];
|
||||||
extraLocaleSettings = lib.mkDefault {
|
extraLocaleSettings = lib.mkDefault {
|
||||||
LC_ADDRESS = "en_US.UTF-8";
|
LC_ADDRESS = "en_US.UTF-8";
|
||||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||||
|
@ -37,11 +37,6 @@
|
|||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
i18n = {
|
|
||||||
defaultLocale = "en_US.utf8";
|
|
||||||
supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
@ -32,22 +32,9 @@
|
|||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
xserver = {
|
displayManager.gdm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.session = [
|
wayland = true;
|
||||||
{
|
|
||||||
manage = "desktop";
|
|
||||||
name = "hyprland";
|
|
||||||
start = ''
|
|
||||||
bash ${./hypr/wrappedhl} &
|
|
||||||
waitPID=$!
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
displayManager.gdm = {
|
|
||||||
enable = true;
|
|
||||||
wayland = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dbus = {
|
dbus = {
|
||||||
|
@ -2,14 +2,13 @@
|
|||||||
{
|
{
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
securityType = "user";
|
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
|
security = "user";
|
||||||
"workgroup" = "WORKGROUP";
|
"workgroup" = "WORKGROUP";
|
||||||
"server string" = "palatine-hill";
|
"server string" = "palatine-hill";
|
||||||
"netbios name" = "palatine-hill";
|
"netbios name" = "palatine-hill";
|
||||||
"security" = "user";
|
|
||||||
#"use sendfile" = "yes";
|
#"use sendfile" = "yes";
|
||||||
#"max protocol" = "smb2";
|
#"max protocol" = "smb2";
|
||||||
# note: localhost is the ipv6 localhost ::1
|
# note: localhost is the ipv6 localhost ::1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
@ -22,7 +22,27 @@
|
|||||||
"z"
|
"z"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
initExtra = ''
|
/*
|
||||||
|
To specify the order, use lib.mkOrder.
|
||||||
|
|
||||||
|
Common order values:
|
||||||
|
|
||||||
|
500 (mkBefore): Early initialization (replaces initExtraFirst)
|
||||||
|
|
||||||
|
550: Before completion initialization (replaces initExtraBeforeCompInit)
|
||||||
|
|
||||||
|
1000 (default): General configuration (replaces initExtra)
|
||||||
|
|
||||||
|
1500 (mkAfter): Last to run configuration
|
||||||
|
|
||||||
|
To specify both content in Early initialization and General configuration, use lib.mkMerge.
|
||||||
|
|
||||||
|
e.g.
|
||||||
|
|
||||||
|
initContent = let zshConfigEarlyInit = lib.mkOrder 500 “do something”; zshConfig = lib.mkOrder 1000 “do something”; in lib.mkMerge [ zshConfigEarlyInit zshConfig ];
|
||||||
|
*/
|
||||||
|
|
||||||
|
initContent = lib.mkOrder 1000 ''
|
||||||
# functions
|
# functions
|
||||||
function mount-data {
|
function mount-data {
|
||||||
if [[ -f /home/alice/backup/.noconnection ]]; then
|
if [[ -f /home/alice/backup/.noconnection ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user